1 /* { dg-do compile } */ 2 foo()3 void foo() 4 { 5 switch (,) { } /* { dg-error "expected expression before" } */ 6 } 7 8