mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 04:48:02 +02:00
20 lines
213 B
ObjectPascal
20 lines
213 B
ObjectPascal
{$ifdef fpc}{$mode objfpc}{$endif}
|
|
unit ub0391;
|
|
interface
|
|
type
|
|
tc2 = class
|
|
protected
|
|
procedure p1(s:string);
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
procedure tc2.p1(s:string);
|
|
begin
|
|
writeln('string: ',s);
|
|
end;
|
|
|
|
|
|
end.
|