1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fno-early-inlining -fno-ipa-cp" } */
4 extern "C" void abort (void);
9 virtual int foo (int i);
23 int __attribute__ ((noinline,noclone)) get_input(void)
28 static int middleman_a (class A *obj, int i)
33 static int middleman_b (class B *obj, int i)
35 return middleman_a (&obj->confusion, i);
39 int main (int argc, char *argv[])
42 int i, j = get_input ();
44 for (i = 0; i < j; i++)
45 if (middleman_b (&b, j) != 2)