mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 22:59:27 +02:00

tchlp50.pp+: added some more tests that yet need to be verified in Delphi git-svn-id: branches/svenbarth/classhelpers@16890 -
26 lines
253 B
ObjectPascal
26 lines
253 B
ObjectPascal
unit uchlp51b;
|
|
|
|
{$ifdef fpc}
|
|
{$mode objfpc}{$H+}
|
|
{$endif}
|
|
|
|
interface
|
|
|
|
uses
|
|
uchlp51a;
|
|
|
|
type
|
|
TFooHelper = class helper for TFoo
|
|
function Test: Integer;
|
|
end;
|
|
|
|
implementation
|
|
|
|
function TFooHelper.Test: Integer;
|
|
begin
|
|
Result := 2;
|
|
end;
|
|
|
|
end.
|
|
|