1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-do assemble } // PRMS Id: 6036 extern int a; int main() { switch (a) { case 1: int v2 = 3; // { dg-error "" } referenced below case 2: // { dg-error "" } jumping past initializer if (v2 == 7) ; } return 0; }