diff options
Diffstat (limited to 'testsuite/gna/bug08/paren11.vhdl')
-rw-r--r-- | testsuite/gna/bug08/paren11.vhdl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/bug08/paren11.vhdl b/testsuite/gna/bug08/paren11.vhdl new file mode 100644 index 0000000..0626418 --- /dev/null +++ b/testsuite/gna/bug08/paren11.vhdl @@ -0,0 +1,19 @@ +entity paren11 is +end paren11; + +architecture behav of paren11 +is +begin + process + type string_acc is access string; + variable hel : string_acc := new string'("hello"); + impure function a return string_acc is + begin + return hel; + end a; + constant b : natural := 2; + begin + assert a(b) = 'e'; + wait; + end process; +end behav; |