summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug016/repro.vhdl
diff options
context:
space:
mode:
authorTristan Gingold2015-08-29 08:01:46 +0200
committerTristan Gingold2015-08-29 08:01:46 +0200
commitb461845ffeb94e902d84c058238fcfcd4074f1a6 (patch)
tree5a2bcc7733b32a649cfe8661f872f50051179657 /testsuite/gna/bug016/repro.vhdl
parentb75d703676ab830ea3e5731e1965d1d89879a456 (diff)
downloadghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.gz
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.bz2
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.zip
Rename gnat/bug directories for non-gna bugs to avoid confusion.
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;
+