blob: 1e26dac95a7481581c78ca9f567673a9dcb60c1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
default Order dec
$include <prelude.sail>
struct B = {
f3: int,
f4: int,
}
struct A = {
f1: B,
f2: int,
}
register R : A
function main() -> unit = {
R.f1.f3 = 2;
print_int("", R.f1.f3)
}
|