* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / test-664.cs
blob7e7fc8b0a3a25c36a7a0dcfc573bd321574a9bab
1 class C
3 static bool Test (string value)
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;
16 return false;
19 public static int Main ()
21 if (!Test (null))
22 return 1;
24 if (!Test ("6.0"))
25 return 2;
27 if (Test ("0"))
28 return 3;
30 return 0;