aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1949/test.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/synth/issue1949/test.vhdl')
-rw-r--r--testsuite/synth/issue1949/test.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/synth/issue1949/test.vhdl b/testsuite/synth/issue1949/test.vhdl
new file mode 100644
index 000000000..18f3086fb
--- /dev/null
+++ b/testsuite/synth/issue1949/test.vhdl
@@ -0,0 +1,12 @@
+package gen_pkg is
+ generic (type T);
+end gen_pkg;
+
+entity test is
+end entity test;
+
+architecture simple of test is
+ package pkg1 is new work.gen_pkg generic map (t => integer);
+ package pkg2 is new work.gen_pkg generic map (t => integer);
+begin
+end architecture simple;