mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 23:08:08 +02:00
15 lines
156 B
ObjectPascal
15 lines
156 B
ObjectPascal
{ %fail }
|
|
{$mode objfpc}
|
|
type
|
|
c = class(TObject)
|
|
function a: longint;
|
|
end;
|
|
|
|
function c.a: longint;
|
|
begin
|
|
result := 1;
|
|
end;
|
|
|
|
var b: c.a;
|
|
begin
|
|
end. |