mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:08:22 +02:00

pdecvar.pas, read_record_fields: * if the def of the field is a static array then use the array's element def (the final element def if it is a multi dimensional array) to check for whether this is the current record type + added tests git-svn-id: trunk@23352 -
20 lines
197 B
ObjectPascal
20 lines
197 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tb0225;
|
|
|
|
{$modeswitch advancedrecords}
|
|
|
|
type
|
|
TTest = record
|
|
public type
|
|
TTestSub = record
|
|
f: TTest;
|
|
end;
|
|
public
|
|
f: array of TTestSub;
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|