blob: 9eb9999f340c21adde4837367366e960892da8d6 [file] [log] [blame]
// PR tree-optimization/37095
// { dg-options "-O" }
struct A
{
virtual A *foo ();
};
struct B : virtual A
{
virtual B *foo () { return 0; }
};
B b;