fpc/tests/test/uchlp51b.pp
svenbarth 9b6fbd330c tchlp37.pp: properties seem to be disliked by Delphi 2007 (when accessing them), so test using a function
tchlp50.pp+: added some more tests that yet need to be verified in Delphi

git-svn-id: branches/svenbarth/classhelpers@16890 -
2011-02-07 19:00:13 +00:00

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.