aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue791/test.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-04-06 16:10:08 +0200
committerTristan Gingold <tgingold@free.fr>2019-04-06 16:10:08 +0200
commitc50affb98160ed4ff1956a6f538ea4ee0c2fb816 (patch)
treeeba5884007f3d65bd588c780219edb16826721b9 /testsuite/gna/issue791/test.vhdl
parent44ef5328fbae25ac727ddeedae1ca03ff1b47d08 (diff)
downloadghdl-c50affb98160ed4ff1956a6f538ea4ee0c2fb816.tar.gz
ghdl-c50affb98160ed4ff1956a6f538ea4ee0c2fb816.tar.bz2
ghdl-c50affb98160ed4ff1956a6f538ea4ee0c2fb816.zip
Add reproducer for issue #791
Diffstat (limited to 'testsuite/gna/issue791/test.vhdl')
-rw-r--r--testsuite/gna/issue791/test.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue791/test.vhdl b/testsuite/gna/issue791/test.vhdl
new file mode 100644
index 000000000..77adb1e36
--- /dev/null
+++ b/testsuite/gna/issue791/test.vhdl
@@ -0,0 +1,17 @@
+entity test is
+end test;
+
+architecture behav of test is
+ procedure proc is
+ begin
+ null;
+ end proc;
+
+ package pkg is new work.generic_pkg
+ generic map (proc);
+begin
+ process
+ begin
+ wait;
+ end process;
+end behav;