aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.amal3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/main.amal b/tests/main.amal
index 65ac43b..3af537b 100644
--- a/tests/main.amal
+++ b/tests/main.amal
@@ -10,6 +10,7 @@ const main = fn {
}
const value = "hello";
+ // fn {} // error, function declaration can't be by itself. Needs left-hand side
print(value, "world", 356, 13.37);
var num1: i32;
const num2 = 23232;
@@ -20,7 +21,7 @@ const main = fn {
/*
episfjpseifipesf
*/
- //io.puts("lole");
+ io.puts("lole");
}
const print = fn {