aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1257/repro2.vhdl
diff options
context:
space:
mode:
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;