summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.toc b/test.toc
index 5c5af41..d8a82af 100644
--- a/test.toc
+++ b/test.toc
@@ -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) {};
};