fpc/tests/tbs0139.pp
1999-01-18 17:51:02 +00:00

21 lines
383 B
ObjectPascal

unit tbs0139;
interface
uses
objpas, tbs0139a;
type
AnotherClass=class(SomeClass)
protected
procedure doSomething; override;
end ;
implementation
procedure AnotherClass.doSomething;
begin
inherited doSomething; // this causes the error: " can not call protected
// method from here " ( or something similar )
end ;
end.