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

struct Foo {
}

void main () {
	Foo foo = {};

	switch (foo) {
	}
}