nctref/tests/lvl2localrecord.nct
2025-05-03 10:03:51 +03:00

17 lines
128 B
Plaintext

record A {
u32 x;
u8 z;
}
record B {
0: u32 x;
7: A a;
}
@section(".text");
B rec;
rec.x = 5;
rec.a.x = 10;
rec.a.z = 9;