Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0159-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aeb30d78a35469e7ef8f06b0277c1a5b819c08ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0159-2.cs: No such case 20

class y {
	enum X { A = 1, B = 1, C = 1 }

	static void Main ()
	{
		int x = 1;

		switch (x){
			case 1: break;
			case 2: goto case 20;
		}
	}
}