summaryrefslogtreecommitdiff
path: root/testsuite/gna/issue9/repro2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue9/repro2.vhdl')
-rw-r--r--testsuite/gna/issue9/repro2.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/issue9/repro2.vhdl b/testsuite/gna/issue9/repro2.vhdl
new file mode 100644
index 0000000..3ca8424
--- /dev/null
+++ b/testsuite/gna/issue9/repro2.vhdl
@@ -0,0 +1,9 @@
+entity tmp is end entity;
+architecture arch of tmp is
+ subtype nat2 is natural range 0 to 3;
+ signal b : bit;
+begin
+ with 2 select b <=
+ '0' when 0 to 2,
+ '1' when 2 to 3;
+end architecture;