Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-291.cs
blobbd5a7d3111e8da3eb3b53eb1f9836080e45393ce
1 // Compiler options: -warnaserror -warn:4
3 using System;
5 public class Test
7 [Obsolete]
8 static void Method () {}
10 public static void Main ()
12 #pragma warning disable 219 , 612
13 int i = 0;
14 Method ();
15 #pragma warning restore 612 // Some comment here
16 #pragma warning disable // Some comment here
17 Method ();
18 #pragma warning restore