summaryrefslogtreecommitdiff
path: root/tests/structs/namespace-field-nested-initializer-2.test
blob: 8a1557c20ffbcf8772f91a47b636d9385a0add41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Invalid Code

struct Foo {
	public string s;
	public int i;
}

struct Bar {
	public Foo foo;
}

Bar bar = {{"foo", 42}};

void main () {
}