summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc16
1 files changed, 3 insertions, 13 deletions
diff --git a/test.toc b/test.toc
index aa31aed..bdb1505 100644
--- a/test.toc
+++ b/test.toc
@@ -1,14 +1,4 @@
-x := 10;
-
-twotothe ::= fn(x: int) int {
- total := 1;
- for i := 0..x-1 {
- total += twotothe(i);
- x += 1;
- }
- total
-};
-
main ::= fn() {
- a ::= twotothe(10);
-}; \ No newline at end of file
+ foo ::= fn(){
+ };
+};