1 /* Verify that ipa-cp correctly detects the dynamic type of an object
2 under construction when doing devirtualization. */
4 /* { dg-options "-O3 -fno-early-inlining -fno-inline" } */
6 extern "C" void abort (void);
16 virtual int foo (int i);
22 virtual int foo (int i);
28 virtual int foo (int i);
46 static int middleman (class A *obj, int i)
51 int __attribute__ ((noinline,noclone)) get_input(void)
62 if (middleman (b, get_input ()) != 3)
72 int main (int argc, char *argv[])
76 for (i = 0; i < 10; i++)