mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-07 18:20:39 +01:00
+ added tests Note: unlike what bug report 27880 suggests Delphi also does *NOT* allow this (at least a current Delphi Tokyo) and fails with a "type is not completely defined" error, so this test belongs into the "failure" category git-svn-id: trunk@40285 -
17 lines
162 B
ObjectPascal
17 lines
162 B
ObjectPascal
{ %FAIL }
|
|
|
|
program project1;
|
|
|
|
{$mode delphi}
|
|
|
|
type
|
|
TSomeRecord = record
|
|
Value: Integer;
|
|
const
|
|
Invalid: TSomeRecord = (Value: 25);
|
|
end;
|
|
|
|
begin
|
|
end.
|
|
|