PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / gimplefe-error-7.c
blob7d5ff374a6c50847eb67d7818f38c0756e42c97b
1 /* { dg-do compile } */
2 /* { dg-options "-fgimple" } */
4 __GIMPLE() void fn1()
6 if (1)
7 goto
8 else /* { dg-error "expected label" } */
9 goto lbl;
12 __GIMPLE() void fn2()
14 if (1)
15 goto lbl;
16 else
17 goto ; /* { dg-error "expected label" } */
20 __GIMPLE() void fn3()
22 if (1)
23 goto lbl;
24 else
25 goto
26 } /* { dg-error "expected label" } */