pascalabcnet/TestSuite/CompilationSamples/u.pas

25 lines
286 B
ObjectPascal
Raw Permalink Normal View History

2019-03-27 23:08:37 +03:00
unit u;
type
e1 = (
ef1,
ef2
);
t2 = class;
tarr = array[e1] of t2;
t2 = class
end;
t1 = class
a: array[e1] of t1;//обязательно тип элементов t1
procedure test(t: tarr);
begin
end;
end;
end.