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