fpc/tests/webtbs/tw1573.pp
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00

28 lines
473 B
ObjectPascal

{ %version=1.1 }
{$mode objfpc}
type
TCheck=class(TObject);
var
vlA : TCheck;
vlB : TObject;
procedure aa(const ParXX :array of TObject);
begin
// writeln(cardinal(ParXX[0]),' ', cardinal(ParXX[1]));
if (ParXX[0]<>vlA) or (ParXX[1]<>vlB) then
begin
writeln('error');
halt(1);
end;
end;
begin
vlB := TObject.Create;
vlA := TCheck.Create;
aa([vlA,vlB]);
end.