blob: b0344f480669bf901413285f8f7858be8d37a0ac [file] [log] [blame]
// PR 14804
// { dg-do run }
struct A {
virtual void foo() = 0;
};
struct B : public A {
virtual void bar() = 0;
};
typedef void (A::*mfptr)();
struct D {
mfptr p;
};
static const D ds[] = {
{ reinterpret_cast<mfptr>(&B::bar) },
};
int main()
{
return 0;
}