Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-293.cs
1 // This code must be compilable without any warning
2 // Compiler options: -warnaserror -warn:4
3
4 using System;
5
6 public class A {
7         [Obsolete()]
8         public virtual string Warning {
9                 get { return ""; }
10         }
11 }
12
13 public class B : A {
14         [Obsolete()]
15         public override string Warning {
16                 get { return ""; }
17         }
18         
19         public static void Main ()
20         {
21         }
22 }
23