Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0568.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eea98b27e85e7e2cc2faf084a3906426ccfabb38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0568.cs: struct can not contain an explicit parameterless constructor
// Line: 5
struct A {
	int a;
	A () { a = 1; }
}

class D {
	static void Main ()
	{
		A [] a = new A [10];

	}
}