comparison gcc/testsuite/gcc.dg/gimplefe-error-2.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-fgimple" } */
3
4 int __GIMPLE ()
5 main (int argc, char * * argv)
6 {
7
8 bb_2:
9 switch (a) {default: L2; case 1: L0; case 2: L1; } /* { dg-error "undeclared" } */
10
11 L0:
12 a = 0;
13 goto bb_6;
14
15 L1:
16 a = 3;
17 goto L2;
18
19 L2:
20 return a;
21 }