mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:07:56 +02:00
19 lines
244 B
ObjectPascal
19 lines
244 B
ObjectPascal
{ %recompile }
|
|
unit tw4140;
|
|
|
|
interface
|
|
|
|
implementation
|
|
|
|
uses uw4140;
|
|
|
|
procedure Foo;
|
|
var Enum: TMySubEnum;
|
|
begin
|
|
{ Any of two lines below causes "Internal error 309993" }
|
|
Writeln(Ord(Low(TMySubEnum)));
|
|
Writeln(Ord(Low(Enum)));
|
|
end;
|
|
|
|
end.
|