aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug18360/testcase.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug18360/testcase.vhdl')
-rw-r--r--testsuite/gna/bug18360/testcase.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/bug18360/testcase.vhdl b/testsuite/gna/bug18360/testcase.vhdl
new file mode 100644
index 000000000..2aabbed62
--- /dev/null
+++ b/testsuite/gna/bug18360/testcase.vhdl
@@ -0,0 +1,8 @@
+entity TESTCASE is
+end entity TESTCASE;
+
+architecture PROBLEM of TESTCASE is
+ type ENUMERATION_TYPE is (VALUE1, VALUE2);
+ constant SOME_VAR : integer := ENUMERATION_TYPE'length;
+begin
+end architecture PROBLEM;