libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr106781.c
blob339c28c41df0d4d22cd6170ba7dd5675012e7c1c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wno-div-by-zero" } */
4 int n;
6 __attribute__ ((noinline, returns_twice)) static int
7 bar (int)
9 n /= 0;
11 return n;
14 int
15 foo (int x)
17 return bar (x);