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
2010-03-03 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0162-6.cs
blob
7519ac6760cbca2730a301002bcfdd3cb87150e1
1
// cs0162-6.cs: Unreachable code detected
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
class
Foo
{
6
static void
Main
()
7
{
8
goto
skip
;
9
a
:
10
throw new
System
.
Exception
();
11
goto
a
;
12
skip
:
13
return
;
14
}
15
}