1 /* It seems there is no way to avoid the other source of mulitple
2 source testcase from being compiled independently. Just avoid
9 __attribute__ ((externally_visible
))
10 int constval
=1,constval2
=2;
12 __attribute__ ((externally_visible
))
13 int constval
=3,constval2
=2;
20 /* Verify that inlining happens for first case. */
21 if (i
==constval
&& !__builtin_constant_p (i
))
23 /* Second case has no dominating target; it should not inline. */
24 if (i
==constval2
&& __builtin_constant_p (i
))
33 __attribute__ ((externally_visible
))
34 void (*p
[2])(int)={add
, sub
};