Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-autoproperty-10.cs
1 // Compiler options: -langversion:experimental
2 struct S
3 {
4         public decimal P { get; } = -3;
5 }
6
7 class X
8 {
9         public static int Main ()
10         {
11                 var s = new S ();
12                 if (s.P != -3)
13                         return 1;
14
15                 return 0;
16         }
17 }