aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1379/bar4.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1379/bar4.vhdl')
-rw-r--r--testsuite/gna/issue1379/bar4.vhdl35
1 files changed, 35 insertions, 0 deletions
diff --git a/testsuite/gna/issue1379/bar4.vhdl b/testsuite/gna/issue1379/bar4.vhdl
new file mode 100644
index 000000000..6aaf26791
--- /dev/null
+++ b/testsuite/gna/issue1379/bar4.vhdl
@@ -0,0 +1,35 @@
+entity foo4 is
+ port (
+ input : in bit_vector(1 downto 0)
+ );
+end foo4;
+
+architecture behave of foo4 is
+begin
+end behave;
+
+entity bar4 is
+end entity bar4;
+
+architecture behave of bar4 is
+ component foo4 is
+ port (
+ input : in natural
+ );
+ end component;
+
+begin
+
+ my_foo : foo4
+ port map (
+ input => 0
+ );
+end behave;
+
+configuration cfg of bar4 is
+ for behave
+ for my_foo : foo4
+ use open;
+ end for;
+ end for;
+end cfg;