diff options
author | Tristan Gingold <tgingold@free.fr> | 2023-02-12 18:36:45 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2023-02-13 07:58:50 +0100 |
commit | f041824100c87e65ae8aaa92dff01988b6fbc94f (patch) | |
tree | d6f9e0d69f0bc37daca1409eb0cf53979c5e01e6 /testsuite/gna/issue2350/test7.vhdl | |
parent | 20e5bd83379ab7a20002dc200f62da64dcd56df9 (diff) | |
download | ghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.tar.gz ghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.tar.bz2 ghdl-f041824100c87e65ae8aaa92dff01988b6fbc94f.zip |
testsuite/gna: add tests for #2350
Diffstat (limited to 'testsuite/gna/issue2350/test7.vhdl')
-rw-r--r-- | testsuite/gna/issue2350/test7.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue2350/test7.vhdl b/testsuite/gna/issue2350/test7.vhdl new file mode 100644 index 000000000..e11354f2c --- /dev/null +++ b/testsuite/gna/issue2350/test7.vhdl @@ -0,0 +1,15 @@ +library ieee ; + use ieee.std_logic_1164.all ; + use ieee.numeric_std.all ; + +entity test7 is +end entity ; + +architecture arch of test7 is + + type cx_t is array (1 to 2) of signed (15 downto 0); + + constant x : cx_t := ( 1 => to_signed(0, 16), 2 => to_signed(0, 17)); + +begin +end architecture ; |