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,5 +8,5 @@ times2 @= fn(x: int) int { x + x }; main @= fn() { print_int(times2(5)); - foo := fn (x, y, z : float, A:double) {}; + foo := fn (x, y, z : f32, A:f64) {}; }; |