fpc/tests/tbs/tb0630.pp
svenbarth 7b675b6769 * correctly write the type of open array parameters as the element def and not the array def
+ added test that shows the linking error if not done so (otherwise that should already be covered by trtti15.pp)

git-svn-id: trunk@37083 -
2017-08-29 20:17:24 +00:00

20 lines
217 B
ObjectPascal

{ %NORUN }
program tb0630;
uses
typinfo;
type
TTest = record
test: procedure(aTest: array of LongInt);
end;
TTestArray = array[0..1] of TTest;
var
ti: PTypeInfo;
begin
ti := TypeInfo(TTest);
end.