diff options
Diffstat (limited to 'testsuite/gna/issue2350/test3.vhdl')
-rw-r--r-- | testsuite/gna/issue2350/test3.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/issue2350/test3.vhdl b/testsuite/gna/issue2350/test3.vhdl new file mode 100644 index 000000000..117024484 --- /dev/null +++ b/testsuite/gna/issue2350/test3.vhdl @@ -0,0 +1,20 @@ +library ieee ; + use ieee.std_logic_1164.all ; + use ieee.numeric_std.all ; + +entity test3 is +end entity ; + +architecture arch of test3 is + + type cx_t is record + re : signed (15 downto 0); + im : signed (15 downto 0); + end record ; + +-- subtype c16_t is cx_t( re(15 downto 0), im(15 downto 0) ) ; + + constant x : cx_t := ( re => to_signed(0, 16), im => "00000001000000010" ) ; + +begin +end architecture ; |