aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1282/issue.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1282/issue.vhdl')
-rw-r--r--testsuite/synth/issue1282/issue.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/synth/issue1282/issue.vhdl b/testsuite/synth/issue1282/issue.vhdl
new file mode 100644
index 000000000..48dfaa8cf
--- /dev/null
+++ b/testsuite/synth/issue1282/issue.vhdl
@@ -0,0 +1,12 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity issue is
+ port (foo : in std_logic_vector (3 downto 0);
+ bar : out std_logic_vector (7 downto 0));
+end issue;
+
+architecture beh of issue is
+begin
+ bar <= ('0' & foo, others=>'0');
+end architecture beh;