blob: 325f95b3473cd34e18cee25495106d3676e3de03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
struct Foo {
public unowned string s;
public int i;
}
const Foo[] FOOS = { { "foo", 23 }, {} };
const Foo[] BARS = { { "bar", 42 }, null };
void main () {
Foo[] foos = { { "foo", 23 }, {} };
Foo[] bars = { { "bar", 42 }, null };
}
|