libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr96232-1.c
blob3170ffd7e810d7a5ae81a6c50d41868613399f58
1 /* PR tree-optimization/96232 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump " \\+ -1;" "optimized" } } */
5 /* { dg-final { scan-tree-dump-not "~x_\[0-9]*\\\(D\\\)" "optimized" } } */
7 int
8 foo (_Bool x)
10 return x ? 0 : -1;