projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #260 from pcc/topmost
[mono.git]
/
mcs
/
errors
/
cs0161-4.cs
1
// CS0161: `T.Main()': not all code paths return a value
2
// Line: 6
3
// CSC bug: The error is not reported even if it should as in other unreachable cases
4
5
class T {
6
public static int Main ()
7
{
8
switch (1) {
9
case 1:
10
return 0;
11
default:
12
break;
13
}
14
}
15
}