Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-547.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f98a95235f4de99299966751d502cf2416b495e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Compiler options: -warn:4 -define:A1
// This test should print only: #warning: `A1'

#if A1
# warning A1
#elif A2
# error A2
# if B2
# error A1->B2
# define A1B2
# else
# error A2->else
# endif
#else
# error else
#endif

#if E1
	#error E1
#elif E2
	#error E2
#else
	public class C
#endif
	{
		public static void Main () {}
	}