pascalabcnet/TestSuite/errors/err0080.pas
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

21 lines
286 B
ObjectPascal

type TRec = record
a : integer;
b : real;
end;
type
Node = class<T>
a : T;
procedure Test;
begin
a := nil;//?????????
end;
end;
var p : Node<TRec> := nil;
begin
p := new Node<TRec>();
p.a.a := 23;
p.Test;
end.