summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc20
1 files changed, 6 insertions, 14 deletions
diff --git a/test.toc b/test.toc
index 5631694..536af71 100644
--- a/test.toc
+++ b/test.toc
@@ -1,18 +1,10 @@
main @= fn() {
- foo @ fn() = fn() {};
- bar : fn() = fn() {};
+ foo := fn() {
+ bar();
+ };
- foo();
- bar();
- a : i64 = 5;
- b : float = 32.3;
- c : int = a;
- blah := 32;
- asfdljk: float = 12.3;
- asdkfjhakj : i8 = 1332948;
+ bar := fn() {
+ foo();
+ };
};
-
-
-asdkfh := fn(x: int) {
-}; \ No newline at end of file