f(int c)1 void f(int c) 2 { 3 switch (c) 4 { 5 case d: /* { dg-error "'d' was not declared" } */ 6 int optBzip2 = true; 7 } 8 } 9