blob: e4690f2b77682453baf8121103beddac4456d9f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
entity e2 is
end;
architecture a of e2 is
function outer(arg : integer) return integer is
function inner1(arg : integer) return integer is
begin
return arg + 1;
end;
function inner2(arg : integer) return integer is
begin
return inner1(arg + 2);
end;
begin
return inner2(arg + 3);
end;
begin
end;
|