repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
tests
/
test-60.cs
blob
2ab347dbfb6ec3cb4deb3ee35eebf7f95dadf33c
1
//
2
// Really lame test, but it should be fine for now
3
//
4
#define TEST
5
6
#region
"dunno"
7
#endregion
8
9
#if FLAG_FALSE
10
namespace
ns1
11
#else
12
#if FLAG_FALSE
13
#if FLAG_FALSE
14
namespace
ns2
15
#else
16
namespace
ns3
17
#endif
18
#else
19
#if FLAG_TRUE
20
namespace
ns4
21
#else
22
namespace
ns5
23
#endif
24
#endif
25
#endif
26
{
27
public class
Y
28
{
29
public
Y
()
30
{
31
}
32
33
public void
Run
() {}
34
}
35
}
36
37
#if (X)
38
#endif
39
40
#if YY
41
#errro this should not be printed
42
#if X
43
#elif Y
44
#else
45
#endif
46
#else
47
class
X
{
48
static int
Main
()
49
{
50
#if (TEST)
51
ns5
.
Y y
=
new
ns5
.
Y
();
52
53
y
.
Run
();
54
return
0
;
55
#endif
56
}
57
}
58
#endif
59