mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 07:19:35 +02:00
24 lines
317 B
ObjectPascal
24 lines
317 B
ObjectPascal
{ Old file: tbs0029.pp }
|
|
{ tests typeof(object type) OK 0.99.1 (FK) }
|
|
|
|
type
|
|
TA = object
|
|
constructor init;
|
|
procedure test;virtual;
|
|
end;
|
|
|
|
constructor TA.init;
|
|
begin
|
|
end;
|
|
|
|
procedure TA.test;
|
|
begin
|
|
end;
|
|
|
|
var
|
|
P: Pointer;
|
|
|
|
begin
|
|
P := pointer(TypeOf(TA));
|
|
end.
|