a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
14 lines
166 B
C#
14 lines
166 B
C#
// CS0573: `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];
|
|
|
|
}
|
|
}
|