fpc/tests/webtbf/tw18267.pp
Jonas Maebe d76ddcabe6 * don't give an internalerror when trying to explicitly apply an invalid
typecast to an array-of-const (mantis #18267)

git-svn-id: trunk@16749 -
2011-01-11 15:47:56 +00:00

16 lines
138 B
ObjectPascal

{ %fail }
program typecasttest;
{$mode objfpc}
procedure Test(const aArgs: array of const);
begin
TVarRec(aArgs);
end;
begin
end.