Merge pull request #3773 from mono/bockbuild-integration
[mono.git] / mcs / errors / cs0573.cs
index 631c64c8ede5d3f5e7583de7627129a9cc0c5803..fd8de1ebc6e9c56ebb9e1a3802d37f089c33e55c 100644 (file)
@@ -1,13 +1,7 @@
-// cs0573.cs: `A.a': Structs cannot have instance field initializers
-// Line: 5
-struct A {
-       int a = 1;
-}
-
-class D {
-       static void Main ()
-       {
-               A [] a = new A [10];
+// CS0573: 'S': Structs cannot have instance property or field initializers
+// Line: 6
 
-       }
+struct S
+{
+       int v = 0;
 }