aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue264/ex1_top.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue264/ex1_top.vhdl')
-rw-r--r--testsuite/gna/issue264/ex1_top.vhdl24
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue264/ex1_top.vhdl b/testsuite/gna/issue264/ex1_top.vhdl
new file mode 100644
index 000000000..c7a268b71
--- /dev/null
+++ b/testsuite/gna/issue264/ex1_top.vhdl
@@ -0,0 +1,24 @@
+entity ex1_entity is
+ port (
+ X : inout boolean -- std_logic works
+ );
+end entity;
+
+architecture a of ex1_entity is
+begin
+end architecture;
+
+library IEEE;
+use IEEE.std_logic_1164.all;
+
+entity ex1_top is
+end entity;
+
+architecture a of ex1_top is
+ signal A : std_logic;
+begin
+ inst : entity work.ex1_entity
+ port map (
+ X => A -- line containing error
+ );
+end architecture;