fpc/tests/test/tchlp55.pp
2011-06-30 18:54:46 +00:00

22 lines
346 B
ObjectPascal

{ %NORUN }
{ This tests that methods introduced by a helper can be found in
with-Statements as well - Case 1: normal method in current helper }
program tchlp55;
{$mode objfpc}
type
TObjectHelper = class helper for TObject
procedure Test;
end;
procedure TObjectHelper.Test;
begin
end;
begin
with TObject.Create do
Test;
end.