blob: 031881bd8dbe50eff19b44caea1b193f92ee06e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
enum Foo {
BAR,
MANAM
}
void main () {
var foo = Foo.MANAM;
switch (foo) {
case Foo.BAR:
assert_not_reached ();
break;
case Foo.MANAM:
break;
default:
assert_not_reached ();
}
}
|