From e532264e3161e6715ea3447f1bb8490eea7b124e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 29 Dec 2013 12:11:39 +0100 Subject: Add bug15933. --- testsuite/gna/bug15933/crash.vhd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testsuite/gna/bug15933/crash.vhd (limited to 'testsuite/gna/bug15933/crash.vhd') diff --git a/testsuite/gna/bug15933/crash.vhd b/testsuite/gna/bug15933/crash.vhd new file mode 100644 index 000000000..a4fe381a8 --- /dev/null +++ b/testsuite/gna/bug15933/crash.vhd @@ -0,0 +1,14 @@ +entity crash is end; + +architecture behav of crash is + constant data_width : natural := 8; + type data_type is record + data: bit_vector(data_width-1 downto 0); + enable: bit; + end record data_type; + type port_type is array(0 to 15) of data_type; + signal s : port_type; +begin + s(s'range).enable <= '0'; +end behav; + -- cgit v1.2.3