aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2350/test6.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2350/test6.vhdl')
-rw-r--r--testsuite/gna/issue2350/test6.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue2350/test6.vhdl b/testsuite/gna/issue2350/test6.vhdl
new file mode 100644
index 000000000..e3c991ea5
--- /dev/null
+++ b/testsuite/gna/issue2350/test6.vhdl
@@ -0,0 +1,16 @@
+library ieee ;
+ use ieee.std_logic_1164.all ;
+ use ieee.numeric_std.all ;
+
+entity test6 is
+end entity ;
+
+architecture arch of test6 is
+
+ type cx_t is array (1 to 2) of signed (15 downto 0);
+
+ constant a : signed(16 downto 0) := "00000001000000010"; --(others => '0');
+ constant x : cx_t := ( 1 => to_signed(0, 16), 2 => a);
+
+begin
+end architecture ;