fpc/tests/webtbs/tw19452.pp
Jonas Maebe f1c45eeae3 * support passing [nil] to an array of class/objcclass/javaclass/intf/...
in {$mode objfpc} (mantis #19452)

git-svn-id: trunk@28862 -
2014-10-17 16:10:55 +00:00

18 lines
222 B
ObjectPascal

{ %norun }
{$mode objfpc}
type
TMyObject = class
public
constructor Create(ar: array of TMyObject);
end;
constructor TMyObject.Create(ar: array of TMyObject);
begin
end;
begin
TMyObject.Create([nil]);
end.