xref: /freebsd/contrib/netbsd-tests/usr.bin/xlint/lint1/d_ellipsis_in_switch.c (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 int x(void)
2 {
3 	int i = 33;
4 	switch (i) {
5 	case 1 ... 40:
6 		break;
7 	default:
8 		break;
9 	}
10 	return 0;
11 }
12