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, 12 insertions, 0 deletions
diff --git a/tests/bytecode.amal b/tests/bytecode.amal
new file mode 100644
index 0000000..c5b2cb3
--- /dev/null
+++ b/tests/bytecode.amal
@@ -0,0 +1,12 @@
+extern const printf: fn;
+
+const print = fn {
+
+}
+
+const main = fn {
+ var value = 23;
+ value = 34;
+ const str_value = "hello, world";
+ print();
+} \ No newline at end of file