mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 01:09:35 +02:00
13 lines
215 B
ObjectPascal
13 lines
215 B
ObjectPascal
{$mode objfpc}
|
|
|
|
procedure Test(ParArr :array of const);
|
|
begin
|
|
writeln(ParArr[0].vtype,' ',vtObject,' ',vtclass);
|
|
if ParArr[0].vtype<>vtObject then
|
|
halt(1);
|
|
end;
|
|
|
|
begin
|
|
Test([TObject.Create]);
|
|
end.
|