1 #!/usr/local/bin/rune -x
3 # Demonstrate the use of compound types.
9 alias stdio.File @stdout = stdio.stdout;
13 __align(4) int64_t b = 23;
19 main(int ac, string_p *av)
23 stdout->show("Sizeof(x) should be 64:", sizeof(x));
24 stdout->show("x.a should be 1:", x[1].a);
25 stdout->show("x.b should be 23:", x[1].b);
26 stdout->show("x.c should be -1:", x[1].c);
27 stdout->show("x.d should be 18446744073709551615:", x[1].d);