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-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0152-3.cs
blob
7c9b47b9c68cb8909c9b73fa0a82d53877a4fbec
1
// CS0152: The label `case 0:' already occurs in this switch statement
2
// Line: 13
3
4
// https://bugzilla.novell.com/show_bug.cgi?id=363791
5
6
class
Test
{
7
enum
Foo { MUL, JL }
8
static
Foo f
;
9
public static void
Main
()
10
{
11
switch
(
f
) {
12
case
Foo
.
MUL
:
break
;
13
case
Foo
.
MUL
:
break
;
14
}
15
}
16
}