2 // Tests if case ranges (a GNU extension) emit errors in ISO mode
3 // { dg-options "-pedantic" }
12 case low ... high : return i + 1; // { dg-error "non-standard" }
20 case 1 ... 10: return i + 1; // { dg-error "non-standard" }
21 default: return f2 (i); // { dg-error "" }