mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 04:39:38 +02:00
no message
This commit is contained in:
parent
f83c707f71
commit
d605448715
25
tests/webtbs/tw1573.pas
Normal file
25
tests/webtbs/tw1573.pas
Normal file
@ -0,0 +1,25 @@
|
||||
{ %version=1.1 }
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user