summaryrefslogtreecommitdiff
path: root/tnslc/enum.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-05-19 18:02:40 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-05-19 18:02:40 -0400
commit8b727c4173c65efb55b59dec9cd5e4066aa9f1f1 (patch)
tree43b12af00183ee5f91210ed2e75091ff948172ad /tnslc/enum.tnsl
parented1e831de0efa7b6535a263cee4daac336d5cf19 (diff)
Updated enum checking
Diffstat (limited to 'tnslc/enum.tnsl')
-rw-r--r--tnslc/enum.tnsl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tnslc/enum.tnsl b/tnslc/enum.tnsl
index e8c4932..e8e9c03 100644
--- a/tnslc/enum.tnsl
+++ b/tnslc/enum.tnsl
@@ -4,6 +4,10 @@ enum TEST_ENUM [int] {
i = 0
}
+/; module m
+ int i = 0
+;/
+
/; main [int]
- return TEST_ENUM.i
+ return TEST_ENUM.i + m.i
;/ \ No newline at end of file