2009-01-24 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / test-657.cs
blobaefc2f85b56dc5b15bdebe24414569d46ebb7f1b
1 // Compiler options: test-657-p2.cs -out:test-657.exe
3 using System;
4 using System.Diagnostics;
6 namespace TestDebug
8 class Program
10 [Conditional ("DEBUG")]
11 public static void Excluded ()
13 throw new ApplicationException ("1");
16 static int Main ()
18 C.Method (); // Only checks that DEBUG is defined in second file
20 Excluded ();
21 #if DEBUG
22 throw new ApplicationException ("1");
23 #endif
24 return 0;