aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue535/bug.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-02-25 07:35:22 +0100
committerTristan Gingold <tgingold@free.fr>2018-02-25 07:35:22 +0100
commit807570488884a51ed60c38f4ce0853b8e1191e3c (patch)
treeb6bdcede56eaadacba7e16bc703344548713c22b /testsuite/gna/issue535/bug.vhdl
parent168286ce3158582f80fdd0c725bd48611033638f (diff)
downloadghdl-807570488884a51ed60c38f4ce0853b8e1191e3c.tar.gz
ghdl-807570488884a51ed60c38f4ce0853b8e1191e3c.tar.bz2
ghdl-807570488884a51ed60c38f4ce0853b8e1191e3c.zip
Add testcase for #535
Diffstat (limited to 'testsuite/gna/issue535/bug.vhdl')
-rw-r--r--testsuite/gna/issue535/bug.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue535/bug.vhdl b/testsuite/gna/issue535/bug.vhdl
new file mode 100644
index 000000000..8c6fcb1a1
--- /dev/null
+++ b/testsuite/gna/issue535/bug.vhdl
@@ -0,0 +1,12 @@
+package pkg1 is
+ generic (
+ type value_t);
+end package;
+
+package pkg2 is
+ generic (
+ type value_t);
+
+ package pkg1_inst is new work.pkg1 generic map (value_t => value_t);
+ use pkg1_inst.all;
+end;