aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/aliased_type_constant.elna12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/compilable/aliased_type_constant.elna b/testsuite/compilable/aliased_type_constant.elna
new file mode 100644
index 0000000..16a52c2
--- /dev/null
+++ b/testsuite/compilable/aliased_type_constant.elna
@@ -0,0 +1,12 @@
+type
+ Handle = Int
+
+var
+ limit: const Int := 1
+
+proc check()
+begin
+ assert(limit = 1)
+return
+
+end.