aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t2-1.p
blob: 295fe4b5fe56aa20a0c28620e921d8a75a82c29c (plain)
1
2
3
4
5
6
7
8
9
10
(* expression must return a typed-value *)
program main(input,output);
 var a,b,c: integer;
 var x,y,z: real;
begin
 a := b + c;
 x := y + z;
 a := x
end.