summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0161-2.cs
blob: 40c93a70a18ff9cae09363709cb5b2e85347fdba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0161: `Test.Main()': not all code paths return a value
// Line: 4
class Test {
	static int Main () {
		bool b = false;
		while (true) {
			if (b)
				break;
			else
				break;
		}
	}
}