Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-291.cs
1 // Compiler options: -warnaserror -warn:4
2
3 using System;
4
5 public class Test
6 {
7     [Obsolete]
8     static void Method () {}
9         
10     public static void Main ()
11     {
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
19     }
20 }