1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-early-inlining" } */
9 virtual int topf() { return 0; }
12 struct intermediate: top {
13 int topf() /* override */ { return 0; }
23 struct child2: intermediate {};
27 child1& c = static_cast<child1&>(t);
33 int main (int argc, char **argv)