diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,14 +1,18 @@ puti @= fn(x: int) { - #C("printf(\"%lu\", x)"); + #C("printf(\"%lu\\n\", x)"); }; mktup @= fn(a: int, b: int) (int, int) { a, a+b }; - +asdf @= fn() int { + 7 +}; main @= fn() { a, b := mktup(10, 20); // x := mktup; + puti(asdf()); + puti(a); puti(b); };
\ No newline at end of file |