aboutsummaryrefslogtreecommitdiff
path: root/Testing/Semantic/t2-3.p
blob: 806c575e4be04f55bb1c2463baa5e7b654ed1d2d (plain)
1
2
3
4
5
6
7
8
9
(* ERROR: objects of different types appear in the same expression *)
program main( input, output );
  var a: integer;
  var x: real;
begin
  a := a + 1.23;
  x := x + 123
end.