mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 22:28:06 +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 -
13 lines
99 B
ObjectPascal
13 lines
99 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tb0224;
|
|
|
|
type
|
|
TTest = record
|
|
f: array[0..0] of TTest;
|
|
end;
|
|
|
|
begin
|
|
|
|
end.
|