summaryrefslogtreecommitdiff
path: root/mcs/tests/test-515.cs
blob: 95adf6258b1264148453baa8e247c3a80836f523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class X {
	public static void Main ()
	{
		int i = 0;
		goto a;
	b:
		if (++ i > 1)
			throw new System.Exception ("infloop!!!");
		return;
	a:
		goto b;
	}
}