1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
entity paren6 is end paren6; architecture behav of paren6 is begin process type string_acc is access string; variable a : string_acc := new string'("hello"); constant b : natural := 3; begin assert a(b) = 'l'; wait; end process; end behav;