diff options
Diffstat (limited to 'testsuite/gna/bug056/tb3.vhdl')
-rw-r--r-- | testsuite/gna/bug056/tb3.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/bug056/tb3.vhdl b/testsuite/gna/bug056/tb3.vhdl new file mode 100644 index 000000000..34b758aa2 --- /dev/null +++ b/testsuite/gna/bug056/tb3.vhdl @@ -0,0 +1,14 @@ +package pkg3 is + generic (c : natural); + + constant d : natural := c; +end; + +entity tb3 is +end tb3; + +architecture behav of tb3 is + package p is new work.pkg3 generic map (c => 3); +begin + assert p.d = 3; +end behav; |