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

test-226.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 149d495c221d239579c099c07c9750405cbe1699 (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
using System;

class Test226
{
	static bool ok;

	public static void Test ()
	{
		int n=0;
		while (true) {
			if (++n==5)
				break;
			switch (0) {
			case 0: break;
			}
		}
		ok = true;
	}

	public static int Main ()
	{
		Test ();
		return ok ? 0 : 1;
	}
}