[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-240.cs
blobfeffcff430e6037efbe7a8bb88c9e5f2cfec9a60
1 #define C2
3 using System;
4 using System.Diagnostics;
6 class TestClass {
7 static int return_code = 1;
9 [Conditional("C1"), Conditional("C2")]
10 public static void ConditionalMethod()
12 Console.WriteLine ("Succeeded");
13 return_code = 0;
16 public static int Main()
18 ConditionalMethod ();
19 return return_code;