summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug016/repro.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug016/repro.vhdl')
-rw-r--r--testsuite/gna/bug016/repro.vhdl29
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/bug016/repro.vhdl b/testsuite/gna/bug016/repro.vhdl
new file mode 100644
index 0000000..d82cc58
--- /dev/null
+++ b/testsuite/gna/bug016/repro.vhdl
@@ -0,0 +1,29 @@
+entity repro is
+end repro;
+
+architecture behav of repro is
+ component comp is
+ port (s : bit);
+ end component;
+ signal s : bit;
+begin
+ c : comp port map (s);
+end behav;
+
+entity comp is
+ port (s : bit);
+end comp;
+
+configuration conf of repro is
+ for behav
+ for c : comp
+ use entity work.compx (behav);
+ end for;
+ end for;
+end conf;
+
+architecture behav of comp is
+begin
+ assert s = '1';
+end behav;
+