aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2323/st2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2323/st2.vhdl')
-rw-r--r--testsuite/gna/issue2323/st2.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue2323/st2.vhdl b/testsuite/gna/issue2323/st2.vhdl
new file mode 100644
index 000000000..b1d91ea04
--- /dev/null
+++ b/testsuite/gna/issue2323/st2.vhdl
@@ -0,0 +1,8 @@
+entity st2 is
+end;
+
+architecture arch of st2 is
+ subtype mypos is natural range -1 to 5;
+ subtype my2 is mypos range 2 to 3;
+begin
+end arch;