diff options
Diffstat (limited to 'testsuite/gna/issue1055/crash.vhdl')
-rw-r--r-- | testsuite/gna/issue1055/crash.vhdl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue1055/crash.vhdl b/testsuite/gna/issue1055/crash.vhdl new file mode 100644 index 000000000..22e6b9292 --- /dev/null +++ b/testsuite/gna/issue1055/crash.vhdl @@ -0,0 +1,12 @@ +package crash_pkg is + + type vec_t is array (natural range <>) of real; + constant null_vec_t : vec_t(0 downto 1) := (others=>0.0); + + type arr_t is array (natural range <>, natural range <>) of real; + constant null_arr_t : arr_t(0 downto 1, 0 downto 1) := (others=>(others=>(0.0))); + + type arg_t is array (natural range <>) of arr_t; + constant null_arg_t: arg_t(0 downto 1) := (others=>null_arr_t); + +end crash_pkg; |