1 #!/usr/local/bin/rune -x
8 alias stdio.File *stdout = stdio.stdout;
13 alias int c = a + b + 40 + b + a * 2 + a;
18 main(int ac, char **av)
22 alias int x = f.d + f.d;
26 stdout->show("Size should be 8:", sizeof(Fubar));
27 stdout->show("Size should be 8:", sizeof(*g));
29 stdout->show("Y should be 192:", y);
31 stdout->show("Y should be 86:", y);
33 stdout->show("Y should be 129:", y);
35 stdout->show("Should be 1:", f.a);
36 stdout->show("Should be 2:", f.b);
37 stdout->show("Should be 48:", f.c);
38 stdout->show("Should be 96:", f.d);
39 stdout->show("Should be 192:", x);
40 stdout->show("Should be 1:", g->a);
41 stdout->show("Should be 2:", g->b);
42 stdout->show("Should be 48:", g->c);
43 stdout->show("Should be 96:", g->d);