Merge pull request #3773 from mono/bockbuild-integration
[mono.git] / mcs / errors / cs0573.cs
index 2100bfd5b53ea8916ca7ecafd929e95c3929f9dd..fd8de1ebc6e9c56ebb9e1a3802d37f089c33e55c 100644 (file)
@@ -1,13 +1,7 @@
-// cs0573.cs: can not initializer fields in structs
-// 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;
 }