projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
test-664.cs
1
class C
2
{
3
static bool Test (string value)
4
{
5
switch (value) {
6
case "1.0":
7
case "2.0":
8
case "3.0":
9
case "4.0":
10
case "5.0":
11
case "6.0":
12
case "7.0":
13
case null:
14
return true;
15
}
16
return false;
17
}
18
19
public static int Main ()
20
{
21
if (!Test (null))
22
return 1;
23
24
if (!Test ("6.0"))
25
return 2;
26
27
if (Test ("0"))
28
return 3;
29
30
return 0;
31
}
32
}