aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1664/repro2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1664/repro2.vhdl')
-rw-r--r--testsuite/gna/issue1664/repro2.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/issue1664/repro2.vhdl b/testsuite/gna/issue1664/repro2.vhdl
new file mode 100644
index 000000000..b629677c7
--- /dev/null
+++ b/testsuite/gna/issue1664/repro2.vhdl
@@ -0,0 +1,9 @@
+entity repro2 is
+end;
+
+architecture behavioral of repro2 is
+ signal s_index : natural;
+ signal s_wrcnt : integer range 0 to 3;
+begin
+ assert (s_wrcnt = 3 and s_index => 5);
+end behavioral; -- behavioral