PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-error-3.c
blob9209bbaeb7d8d5047cba66a973e8126eeaac2108
1 /* { dg-do compile } */
2 /* { dg-options "-fgimple" } */
4 int __GIMPLE foo()
6 if (a != 2) /* { dg-error "undeclared" } */
7 goto bb1;
8 else
9 goto bb2;
11 bb1:
12 a_1 = 10; /* { dg-error "undeclared" } */
13 return a_1;
15 bb2:
16 return 1;