1 /* { dg-do compile } */ 2 /* { dg-options "-fgimple" } */ 3 __GIMPLE()4int __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 } 22