repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Warnings cleanup
[mcs.git]
/
errors
/
cs0162-7.cs
blob
dc467973b66faeee4f39032b4a1ee148d6c749e0
1
// cs0162-6.cs: Unreachable code detected
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
// this requires a multi-pass algorithm for unreachable code detection
6
// punting for now
7
8
class
Foo
{
9
static void
Main
()
10
{
11
goto
skip
;
12
a
:
13
goto
a
;
14
skip
:
15
return
;
16
}
17
}