New errors
[mono.git] / mcs / errors / cs1612.cs
1 using System;
2 class X {
3         static void Main ()
4         {
5
6                 P.x += 10;
7                 Console.WriteLine ("Got: " + P.x);
8         }
9
10         static G P {
11          get {
12                 return g;
13          }
14         }
15
16         static G g = new G ();
17
18         struct G {
19                 public int x;
20         }
21 }
22