1 /* { dg-do compile } */ 2 /* { dg-require-effective-target nonpic } */ 3 /* { dg-options "-O2" } */ 4 /* { dg-final { scan-assembler-times "\\\$120|, 120" 1 } } */ 5 6 extern void foo1 (int); 7 extern void foo2 (int); 8 t(int x,int y)9void t (int x, int y) 10 { 11 if (y < 5) 12 foo1 (120); 13 else 14 foo2 (120); 15 } 16