aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1257/repro2.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-06-17 21:58:11 +0200
committerTristan Gingold <tgingold@free.fr>2020-06-17 21:58:11 +0200
commit1666a4c7458a9078daa77058ef6173bf34223018 (patch)
tree3cfffe18778613ba15471c02c1a77334c4b99f33 /testsuite/gna/issue1257/repro2.vhdl
parent887496173322c262a976ac48d391d89255bf83f0 (diff)
downloadghdl-1666a4c7458a9078daa77058ef6173bf34223018.tar.gz
ghdl-1666a4c7458a9078daa77058ef6173bf34223018.tar.bz2
ghdl-1666a4c7458a9078daa77058ef6173bf34223018.zip
testsuite/gna: add tests for #1257
Diffstat (limited to 'testsuite/gna/issue1257/repro2.vhdl')
-rw-r--r--testsuite/gna/issue1257/repro2.vhdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue1257/repro2.vhdl b/testsuite/gna/issue1257/repro2.vhdl
new file mode 100644
index 000000000..36a4b224b
--- /dev/null
+++ b/testsuite/gna/issue1257/repro2.vhdl
@@ -0,0 +1,14 @@
+entity repro2 is
+end repro2;
+
+architecture behav of repro2 is
+ signal left : bit_vector(1 downto 0);
+begin
+ process
+ begin
+ for i in 1 to 2 loop
+ left(i) <= '1';
+ end loop;
+ wait;
+ end process;
+end;