aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/pub_in_closure.amal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/pub_in_closure.amal')
-rw-r--r--tests/errors/pub_in_closure.amal3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/errors/pub_in_closure.amal b/tests/errors/pub_in_closure.amal
new file mode 100644
index 0000000..881bbd4
--- /dev/null
+++ b/tests/errors/pub_in_closure.amal
@@ -0,0 +1,3 @@
+const main = fn {
+ pub const num = 45;
+} \ No newline at end of file