aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1361/repro3.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1361/repro3.vhdl')
-rw-r--r--testsuite/gna/issue1361/repro3.vhdl15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue1361/repro3.vhdl b/testsuite/gna/issue1361/repro3.vhdl
new file mode 100644
index 000000000..1309a3ba0
--- /dev/null
+++ b/testsuite/gna/issue1361/repro3.vhdl
@@ -0,0 +1,15 @@
+ENTITY repro3 IS
+END repro3;
+
+ARCHITECTURE behav of repro3 IS
+ CONSTANT AddrRANGE : NATURAL := 16#0FFFFFF#;
+
+ TYPE MemArray IS ARRAY (0 TO AddrRANGE) OF bit_vector;
+begin
+ process
+ VARIABLE Mem : MemArray(open)(7 downto 0) := (OTHERS => x"00");
+ begin
+ Mem := (OTHERS => x"ff");
+ WAIT;
+ END PROCESS;
+END behav;