summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/usr.bin/xlint/lint1/d_ellipsis_in_switch.c
blob: ba4a338d29ae71bb5b9d7c22c3bd60a3ed7239f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
int x(void)
{
	int i = 33;
	switch (i) {
	case 1 ... 40:
		break;
	default:
		break;
	}
	return 0;
}
OpenPOWER on IntegriCloud