mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 06:28:55 +02:00
23 lines
248 B
ObjectPascal
23 lines
248 B
ObjectPascal
unit uw25598;
|
|
|
|
{$mode delphi}
|
|
|
|
interface
|
|
|
|
type
|
|
TR = record
|
|
class function Foo: Integer; static; inline;
|
|
end;
|
|
|
|
implementation
|
|
|
|
const
|
|
C: array[0..0] of byte = (0);
|
|
|
|
class function TR.Foo: Integer; inline;
|
|
begin
|
|
Result := C[0];
|
|
end;
|
|
|
|
end.
|