aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug08/paren11.vhdl
blob: 062641895da533eeddd90f98c7f9e0fb2dcd3cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;