blob: a3a4283214a029f76e3d402ba2501347d9e4caf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[SimpleType]
struct Foo {
public int i;
public uint j;
public Foo () {
i = 42;
j = 4711U;
}
}
void main () {
var foo = Foo ();
assert (foo.i == 42);
assert (foo.j == 4711U);
}
|