diff options
Diffstat (limited to 'tests/arr2')
-rw-r--r-- | tests/arr2/arr2.toc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/arr2/arr2.toc b/tests/arr2/arr2.toc index ea9ea79..7056416 100644 --- a/tests/arr2/arr2.toc +++ b/tests/arr2/arr2.toc @@ -1,8 +1,10 @@ puti ::= fn(x: int) { + #C("extern int printf(const char *fmt, ...)"); #C("printf(\"%ld\\n\", (long)x); "); }; putf ::= fn(x: float) { + #C("extern int printf(const char *fmt, ...)"); #C("printf(\"%f\\n\", (double)x); "); }; |