1 /* Test diagnostics for switch statements and labels therein. Test
2 for case ranges with -pedantic-errors. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic-errors" } */
12 case 0 ... 0: ; /* { dg-error "range expressions in switch statements are non-standard" } */