mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +02:00
16 lines
279 B
ObjectPascal
16 lines
279 B
ObjectPascal
program tw18620;
|
|
{$mode Delphi}
|
|
|
|
{ in delphi mode ^T in the var block of class/record/object should not create
|
|
a forward definition which must be resolved after the type section end }
|
|
|
|
type
|
|
C = class
|
|
type
|
|
T = integer;
|
|
var
|
|
V: ^T;
|
|
end;
|
|
|
|
begin
|
|
end. |