diff options
Diffstat (limited to 'testsuite/gna/issue99/bug2.vhdl')
-rw-r--r-- | testsuite/gna/issue99/bug2.vhdl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue99/bug2.vhdl b/testsuite/gna/issue99/bug2.vhdl new file mode 100644 index 000000000..a86f4127f --- /dev/null +++ b/testsuite/gna/issue99/bug2.vhdl @@ -0,0 +1,8 @@ +package bug2 is + generic ( gen: natural ); + constant test: natural:=gen; + + function get_val return natural; +end package; + +package mygbug2 is new work.bug2 generic map ( gen => 17 ); |