aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t6-2.p
blob: 3eabfacaa874201661cfd71f1bf09ec27f3ad192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(* ERROR: procedure passed wrong number/type of arguments *)
program main( input, output );
  var b: integer;
  var y: real;

  procedure boo(a: integer; x: real);
  begin
  end;
begin
  boo(y,10);
  boo(b,y,b)
end.