2 /* { dg-options "-O2" } */
4 extern void link_error (void);
6 typedef unsigned char(*Calculable
)(void);
8 static unsigned char one() { return 1; }
9 static unsigned char two() { return 2; }
12 print(Calculable calculate
)
14 return calculate() + calculate() + 1;
20 /* Make sure we perform indirect inlining of one and two and optimize
21 the result to a constant. */
22 for (int i
= 0; i
< 100; i
++)