2 // Tests if case ranges (a GNU extension) correctly emit messages
3 // about overlapping ranges.
14 case low ... high : return i + 1; // { dg-error "" }
15 case 5 : return i + 2; // { dg-error "duplicate" }
23 case 1 ... 10: return i + 1; // { dg-error "" }
24 case 3 ... 5 : return i + 3; // { dg-error "duplicate" }
25 default: return f2 (i); // { dg-error "" }