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

test-193.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c137318c02ccd1f30c8a433b71ca40d52896217b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;

class A
{
	static int Test (int i)
	{
		switch (i) {
		case 1:
			Console.WriteLine ("1");
			if (i > 0)
				goto LBL4;
			Console.WriteLine ("2");
			break;

		case 3:
			Console.WriteLine ("3");
		LBL4:
			Console.WriteLine ("4");
			return 0;
		}

		return 1;
	}

	public static int Main ()
	{
		return Test (1);
	}
}