aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug08/paren7.vhdl
blob: d3aa815d6a24177dbef51887438ce62722e88f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
entity paren7 is
end paren7;

architecture behav of paren7
is
begin
  process
    type string_acc is access string;
    variable a : string_acc := new string'("hello");
    subtype b is natural range 2 to 4;
  begin
    assert a(b) = "ell";
    wait;
  end process;
end behav;