summaryrefslogtreecommitdiff
path: root/tests/semantic/switch-duplicate-label.test
blob: d10b9296bb2006ba5812996fa43774bcad2f4d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
Invalid Code

void main () {
	int foo = 23;
	const int BAR = 42;

	switch (foo) {
	case BAR: break;
	case BAR: break;
	}
}