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
2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0162-5.cs
blob
837370b82fb29f9d4ba494777e29c300411bc5d3
1
// cs0162-5.cs: Unreachable code detected
2
// Line: 12
3
// Compiler options: -warnaserror
4
5
using
System
;
6
7
public class
Driver
8
{
9
public static void
Main
()
10
{
11
int
yyTop
=
0
;
12
for
(; ; ++
yyTop
) {
13
if
(
yyTop
>
0
)
14
break
;
15
else
16
return
;
17
}
18
}
19
}
20