aboutsummaryrefslogtreecommitdiff
path: root/tests/bytecode.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bytecode.amal')
-rw-r--r--tests/bytecode.amal11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/bytecode.amal b/tests/bytecode.amal
index 5ba26ed..730a26e 100644
--- a/tests/bytecode.amal
+++ b/tests/bytecode.amal
@@ -1,14 +1,3 @@
-extern const printf: fn(fmt: ?&c_char, ...) c_int;
-
const main = fn {
- var value = 23 + 50;
- if value < 23
- printf("less!\n");
- else
- printf("more!\n");
- while value > 0 {
- printf("value: %ld\n", value);
- value = value - 1;
- }
} \ No newline at end of file