diff options
Diffstat (limited to 'tests/main.amal')
-rw-r--r-- | tests/main.amal | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/main.amal b/tests/main.amal index f778a14..ae37816 100644 --- a/tests/main.amal +++ b/tests/main.amal @@ -10,15 +10,12 @@ 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: i64; const num2 = 23232; const num3 = num1 + num2 * 30; //const num4 = (num1 + num2) * num3 * ((34 + 32) / 234.345); const num4 = (num1 + num2) * num3 * ((34 + 32) / 2); - // pub cost num34 = 45; // error, only declarations in global scope can be public - //const num4 = 23; // error, variable redeclaration /* episfjpseifipesf */ |