aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t1-3.p
blob: a224b229563b8f4de949c479595387bfdf0247ed (plain)
1
2
3
4
5
6
7
8
9
10
11
(* LEGAL: non-local names visible from inner scopes *)
program main( input, output );
  var a: integer;
  procedure boo(x: integer);
  begin
    a := x
  end;
begin
  boo(a)
end.