aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1381/repro6.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-10-01 19:15:30 +0200
committerTristan Gingold <tgingold@free.fr>2021-10-01 19:15:30 +0200
commitf11aa29812b75a42771c9fef4f94474b886cf0f3 (patch)
tree0ff65d2d707e26a620db94a2ef7940a75b7b34a8 /testsuite/gna/issue1381/repro6.vhdl
parentedb8566e50c6c6041cb31006ed4c11c7adb2831d (diff)
downloadghdl-f11aa29812b75a42771c9fef4f94474b886cf0f3.tar.gz
ghdl-f11aa29812b75a42771c9fef4f94474b886cf0f3.tar.bz2
ghdl-f11aa29812b75a42771c9fef4f94474b886cf0f3.zip
testsuite/gna: add tests for previous commit
Diffstat (limited to 'testsuite/gna/issue1381/repro6.vhdl')
-rw-r--r--testsuite/gna/issue1381/repro6.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue1381/repro6.vhdl b/testsuite/gna/issue1381/repro6.vhdl
new file mode 100644
index 000000000..7122e75cf
--- /dev/null
+++ b/testsuite/gna/issue1381/repro6.vhdl
@@ -0,0 +1,8 @@
+entity repro6 is
+end;
+
+architecture behav of repro6 is
+ type states_t is (s0, s1, s2);
+ subtype st1 is states_t range s0 to s1;
+begin
+end behav;