aboutsummaryrefslogtreecommitdiff
path: root/tests/bytecode.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode.amal')
-rw-r--r--tests/bytecode.amal10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/bytecode.amal b/tests/bytecode.amal
index a8ea53b..32c1ccb 100644
--- a/tests/bytecode.amal
+++ b/tests/bytecode.amal
@@ -1,8 +1,10 @@
-const b = @import("b.amal");
-
extern const print_extern: fn;
extern const print_extern_num: fn(num: i32);
+const print = fn {
+
+}
+
const main = fn {
var value = 23;
value = 34;
@@ -15,10 +17,6 @@ const main = fn {
const result = print_num(1337);
}
-const print = fn {
-
-}
-
const print_num = fn(num: i32) i32 {
print_extern();
print_extern_num(num);