repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix bug #566087.
[mcs.git]
/
tests
/
test-547.cs
blob
c81ef45c8bcd4218338b180b2746d124f05b2679
1
// Compiler options: -warn:4 -define:A1
2
// This test should print only: #warning: `A1'
3
4
#if A1
5
# warning A1
6
#elif A2
7
# error A2
8
# if B2
9
# error A1->B2
10
# define A1B2
11
# else
12
# error A2->else
13
# endif
14
#else
15
# error else
16
#endif
17
18
#if E1
19
#error E1
20
#elif E2
21
#error E2
22
#else
23
public class
C
24
#endif
25
{
26
static void
Main
() {}
27
}