summaryrefslogtreecommitdiff
path: root/mcs/tests/test-859.cs
blob: b86626332d243873acc16c13a08703192259c0fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class X
{
	public static void Main ()
	{
		int i = 0;
		if (i == 1) {
			a:
			switch (i) {
			default:
				goto a;
			}
		} else if (i == 2) {
			a:
			switch (i) {
			default:
				goto a;
			}
		}
	}
}