diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ #C("#include <stdio.h>\n"); -print_int @= fn(x: int) { +print_int @= fn(y: int) { #C("printf(\"%ld\\n\", (long)x);\n"); }; @@ -8,6 +8,6 @@ times2 @= fn(x: int) int { x + x }; main @= fn() { print_int(times2(5)); - foo := fn (x, y, z,w : float, A:double) {}; + foo := fn (x, y, z,w : f32, A:f64) {}; foo(foo,4,5,3,5); }; |