aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue2124/a2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue2124/a2.vhdl')
-rw-r--r--testsuite/synth/issue2124/a2.vhdl25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/synth/issue2124/a2.vhdl b/testsuite/synth/issue2124/a2.vhdl
new file mode 100644
index 000000000..eb75b51b4
--- /dev/null
+++ b/testsuite/synth/issue2124/a2.vhdl
@@ -0,0 +1,25 @@
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity a2 is
+end entity;
+
+architecture behaviour of a2 is
+
+ component b
+ port (
+ c : in std_logic;
+ q : out std_logic
+ );
+ end component;
+
+ for inst : b use entity work.b;
+begin
+
+ inst : b
+ port map (
+ c => '0',
+ q => open
+ );
+
+end architecture;