aboutsummaryrefslogtreecommitdiff
path: root/tests/bytecode.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode.amal')
-rw-r--r--tests/bytecode.amal12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/bytecode.amal b/tests/bytecode.amal
index c5b2cb3..3484b21 100644
--- a/tests/bytecode.amal
+++ b/tests/bytecode.amal
@@ -1,12 +1,14 @@
extern const printf: fn;
-const print = fn {
-
-}
-
const main = fn {
var value = 23;
value = 34;
+ const value2: i64 = 23;
+ const value3 = 2 + 5 - 1 * 10 / 2;
const str_value = "hello, world";
- print();
+ printf();
+}
+
+const print = fn {
+
} \ No newline at end of file