mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 21:29:43 +02:00
22 lines
235 B
ObjectPascal
22 lines
235 B
ObjectPascal
{ %wpoparas=optvmts }
|
|
{ %wpopasses=1 }
|
|
|
|
|
|
program test;
|
|
|
|
type
|
|
PMyObj=^TMyObj;
|
|
TMyObj = object
|
|
constructor init;
|
|
procedure dummy;virtual;abstract;
|
|
end;
|
|
|
|
constructor TMyObj.init;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
PMyObj(nil)^.init;
|
|
end.
|
|
|