diff options
Diffstat (limited to 'testsuite/gna/issue316/gen_pkg.vhdl')
-rw-r--r-- | testsuite/gna/issue316/gen_pkg.vhdl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue316/gen_pkg.vhdl b/testsuite/gna/issue316/gen_pkg.vhdl new file mode 100644 index 000000000..5a730df51 --- /dev/null +++ b/testsuite/gna/issue316/gen_pkg.vhdl @@ -0,0 +1,13 @@ +package gen_pkg is + generic ( + type T; + function "-"(a : T) return T-- is <>; + ); +end package; + +use work.gen_pkg; + +package p is new gen_pkg + generic map ( + T => T_1000 + ); |