Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-657.cs
blob8e5c8fe1b7da832740b9cc959671a07151b5df1c
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 public 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;