2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-234.cs
blobe2ce76ddbcd6398e252217e70a031178beb7c02a
1 using System;
3 class T {
5 enum E {
6 e0 = 1 << 0,
7 e1 = 1 << 1,
8 e2 = 1 << 2,
9 e3 = 1 << 3,
10 e4 = 1 << 4,
11 e5 = 1 << 5,
12 e6 = 1 << 6,
13 e7 = 1 << 7,
14 e8 = 1 << 8,
15 e9 = 1 << 9,
16 e10 = 1 << 10,
17 e11 = 1 << 11,
18 e12 = 1 << 12,
19 e13 = 1 << 13,
20 e14 = 1 << 14,
21 e15 = 1 << 15,
22 e16 = 1 << 16,
23 e17 = 1 << 17,
24 e18 = 1 << 18,
25 e19 = 1 << 19,
26 e20 = 1 << 20,
27 e21 = 1 << 21,
28 e22 = 1 << 22,
29 e23 = 1 << 23,
30 e24 = 1 << 24,
31 e25 = 1 << 25,
32 e26 = 1 << 26,
33 e27 = 1 << 27,
34 e28 = 1 << 28,
35 e29 = 1 << 29,
36 e30 = 1 << 30,
37 e31 = 1 << 31,
39 static void Main ()
41 E e = E.e1;
42 string s;
43 switch (e) {
44 case E.e0: s = "case 0"; break;
45 case E.e1: s = "case 1"; break;
46 case E.e2: s = "case 2"; break;
47 case E.e3: s = "case 3"; break;
48 case E.e4: s = "case 4"; break;
49 case E.e5: s = "case 5"; break;
50 case E.e6: s = "case 6"; break;
51 case E.e7: s = "case 7"; break;
52 case E.e8: s = "case 8"; break;
53 case E.e9: s = "case 9"; break;
54 case E.e10: s = "case 10"; break;
55 case E.e11: s = "case 11"; break;
56 case E.e12: s = "case 12"; break;
57 case E.e13: s = "case 13"; break;
58 case E.e14: s = "case 14"; break;
59 case E.e15: s = "case 15"; break;
60 case E.e16: s = "case 16"; break;
61 case E.e17: s = "case 17"; break;
62 case E.e18: s = "case 18"; break;
63 case E.e19: s = "case 19"; break;
64 case E.e20: s = "case 20"; break;
65 case E.e21: s = "case 21"; break;
66 case E.e22: s = "case 22"; break;
67 case E.e23: s = "case 23"; break;
68 case E.e24: s = "case 24"; break;
69 case E.e25: s = "case 25"; break;
70 case E.e26: s = "case 26"; break;
71 case E.e27: s = "case 27"; break;
72 case E.e28: s = "case 28"; break;
73 case E.e29: s = "case 29"; break;
74 case E.e30: s = "case 30"; break;
75 case E.e31: s = "case 31"; break;