improve the generics target
[mono.git] / mcs / tests / test-60.cs
1 //
2 // Really lame test, but it should be fine for now
3 //
4
5 #if FLAG_FALSE
6         namespace ns1
7 #else
8         #if FLAG_FALSE
9                         #if FLAG_FALSE
10                                 namespace ns2
11                         #else
12                                 namespace ns3
13                         #endif
14         #else
15                 #if FLAG_TRUE
16                         namespace ns4
17                 #else
18                         namespace ns5
19                 #endif
20         #endif
21 #endif
22 {
23         public class Y
24         {
25                 public Y()
26                 {
27                 }
28
29                 public void Run () {}
30         }
31 }
32
33 #if (X)
34 #endif
35
36 #if YY
37 #errro this should not be printed
38 #if X
39 #elif Y
40 #else
41 #endif
42 #else
43 class X {
44         static int Main ()
45         {
46                 ns5.Y y = new ns5.Y ();
47
48                 y.Run ();
49                 return 0;
50         }
51 }
52 #endif
53