blob: c3096e0dd204db074e1a6efb903792f1b6266cfc [file] [log] [blame]
// { dg-do compile } */
// { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre" }
namespace testPointerToMemberMiscCasts2 {
struct B {
int f;
};
struct L : public B { };
struct R : public B { };
struct D : public L, R { };
int B::* pb = &B::f;
int R::* pr = pb;
int D::* pdr = pr;
}