Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/gimplefe-error-7.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fgimple" } */ | |
3 | |
4 __GIMPLE() void fn1() | |
5 { | |
6 if (1) | |
7 goto | |
8 else /* { dg-error "expected label" } */ | |
9 goto lbl; | |
10 } | |
11 | |
12 __GIMPLE() void fn2() | |
13 { | |
14 if (1) | |
15 goto lbl; | |
16 else | |
17 goto ; /* { dg-error "expected label" } */ | |
18 } | |
19 | |
20 __GIMPLE() void fn3() | |
21 { | |
22 if (1) | |
23 goto lbl; | |
24 else | |
25 goto | |
26 } /* { dg-error "expected label" } */ | |
27 |