2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0568.cs
blobb255929c659c2285e37fbdcf06913d80a21f8b07
1 // cs0568.cs: Structs cannot contain explicit parameterless constructors
2 // Line: 5
3 struct A {
4 int a;
5 A () { a = 1; }
8 class D {
9 static void Main ()
11 A [] a = new A [10];