aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1597/repro.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-01-14 07:51:35 +0100
committerTristan Gingold <tgingold@free.fr>2021-01-16 11:20:10 +0100
commitc0edf6732322ed54d3d23ac168b115f09355129c (patch)
tree5da5852f5c5fd5a267dce2c135aea69347297f55 /testsuite/gna/issue1597/repro.vhdl
parent6aad73e7551f8792a255d842627add35a0b75f0f (diff)
downloadghdl-c0edf6732322ed54d3d23ac168b115f09355129c.tar.gz
ghdl-c0edf6732322ed54d3d23ac168b115f09355129c.tar.bz2
ghdl-c0edf6732322ed54d3d23ac168b115f09355129c.zip
testsuite/gna: add testcase for #1597
Diffstat (limited to 'testsuite/gna/issue1597/repro.vhdl')
-rw-r--r--testsuite/gna/issue1597/repro.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue1597/repro.vhdl b/testsuite/gna/issue1597/repro.vhdl
new file mode 100644
index 000000000..2789bf61f
--- /dev/null
+++ b/testsuite/gna/issue1597/repro.vhdl
@@ -0,0 +1,16 @@
+entity repro is
+ port (b : bit_vector (7 downto 0));
+end;
+
+architecture behav of repro is
+begin
+ process
+ begin
+ for i in b'range loop
+ if b(i)'active then
+ report "active";
+ end if;
+ end loop;
+ wait for 1 ns;
+ end process;
+end behav;