diff options
Diffstat (limited to 'testsuite/gna/bug056/tb3_err.vhdl')
-rw-r--r-- | testsuite/gna/bug056/tb3_err.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/bug056/tb3_err.vhdl b/testsuite/gna/bug056/tb3_err.vhdl new file mode 100644 index 000000000..693e77d6c --- /dev/null +++ b/testsuite/gna/bug056/tb3_err.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.pkg generic map (c => 3); +begin + assert p.d = 3; +end behav; |