2 /* { dg-options "-O2" } */
3 /* { dg-skip-if "" { ! global_constructor } } */
5 /* The ipa-split pass pulls the body of the if(!x) block
6 into a separate function to make foo a better inlining
7 candidate. Make sure this new function isn't also run
8 as a static constructor. */
14 void __attribute__((noinline
))
20 void __attribute__((constructor
))