-// 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;
}