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