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

cs0162-7.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc467973b66faeee4f39032b4a1ee148d6c749e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// cs0162-6.cs: Unreachable code detected
// Line: 9
// Compiler options: -warnaserror -warn:2

// this requires a multi-pass algorithm for unreachable code detection
// punting for now

class Foo {
	static void Main ()
	{
		goto skip;
	a:
		goto a;
	skip:
		return;
	}
}