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