aboutsummaryrefslogtreecommitdiff
path: root/tests/bug.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bug.amal')
-rw-r--r--tests/bug.amal5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bug.amal b/tests/bug.amal
new file mode 100644
index 0000000..170e72c
--- /dev/null
+++ b/tests/bug.amal
@@ -0,0 +1,5 @@
+const func = fn(arg: i32) i32 { return 20; }
+
+const main = fn {
+ func(23);
+} \ No newline at end of file