Merge pull request #5636 from BrzVlad/fix-xmm-scan
[mono.git] / mcs / tests / gtest-autoproperty-09.cs
index e018015684545de43df7e94f344257e1ab89a1a4..42c12e9add6072614d1298455fb7639a671df2ac 100644 (file)
@@ -1,14 +1,20 @@
+// Compiler options: -langversion:experimental
 using System;
 
 struct S
 {
        public static int P { get; } = 4;
 
+       public static int[] PA { get; } = { 0, 2 };
+
        public static int Main ()
        {
                if (P != 4)
                        return 1;
 
+               if (PA [1] != 2)
+                       return 10;
+
                var c = new C ();
                if (c.P != -3)
                        return 2;