1 /* Test for labels in statement expressions: bugs 772 and 17913.
2 switch statements must not jump into statement expressions. */
4 /* Origin: Joseph Myers <joseph@codesourcery.com> */
5 /* { dg-do compile } */
6 /* { dg-options "" } */
16 case 2: /* { dg-error "error: case label in statement expression not containing enclosing switch statement" } */
17 default: /* { dg-error "error: 'default' label in statement expression not containing enclosing switch statement" } */