[mini] Fix test compiling when running !MOBILE
[mono.git] / mcs / errors / cs0176-4.cs
1 // CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
2 // Line: 12
3
4 public class X {
5         public const double CONST = 1;
6 }
7
8 public class Y: X {
9
10         void D (X x)
11         {
12                 double d = x.CONST;
13         }
14 }