[mcs] More updates to auto-properties v6 implementation
[mono.git] / mcs / tests / gtest-autoproperty-13.cs
1 using System;
2
3 public struct S
4 {
5         public int X { get; }
6         public int Y { get; }
7
8         public S ()
9         {
10                 X = 4;
11                 Y = X;
12         }
13
14         public static int Main()
15         {
16                 var s = new S ();
17                 if (s.Y != 4)
18                         return 1;
19
20                 return 0;
21         }
22 }