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