Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 311 Bytes
struct value {
int x;
}
struct integer {
value val;
}
void main() {
print("1..1\n");
integer i = new integer();
i.val = new value();
i.val.x = 42;
int j = i.val.x;
if (i.val.x == 42)
print("ok 1\n");
else
print("not ok 1\n");
}
Something went wrong with that request. Please try again.