summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/toperator1.pp
blob: c29b47a7bc1e9b371034b75b088b81946783a4fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
uses
 toperator2,toperator3;

var
  a,b,c : op1;
  d,e,f : op2;

begin
  a.x:=67;a.y:=-45;
  b.x:=89;b.y:=23;
  c:=a+b;
  e.x:=67;e.y:=-45;e.z:=67;
  f.x:=89;f.y:=23;f.z:=56;
  d:=e+f;
end.