diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -6,18 +6,4 @@ putf ::= fn(x: float) { #C("printf(\"%f\\n\", (double)x); "); }; -foo ::= fn() <int, int> { - x, y := 3, 5; - x, y -}; - -main ::= fn() { - a, b := foo(); - x , y::= (int, int); - puti(a); puti(b); - c:x = 7; - d:x = 18; - k : [5]struct {x: int; y: int;}; - puti(#alignof(k)); - puti(k[0].x); -};
\ No newline at end of file +point ::= pkg "point"; |