summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc8
1 files changed, 3 insertions, 5 deletions
diff --git a/test.toc b/test.toc
index 4933289..e0e1525 100644
--- a/test.toc
+++ b/test.toc
@@ -8,12 +8,10 @@ puti @= fn(x: int) {
// };
-f @= fn(t @ Type, x: t) t {
- x + 1
+f @= fn(x: int) y := x {
+ puti(x);
};
-
main @= fn() {
- puti(f(int, 3));
- puti(f(u8, 255) as int);
+ puti(f(1238));
}; \ No newline at end of file