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