blob: 01b3a55016d4802275ac7811ab41e019896831cc (
plain)
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;
|