fpc/tests/tbf/tb0292.pp
2022-07-16 22:13:21 +02:00

19 lines
204 B
ObjectPascal

{ %fail }
{$mode objfpc}
type
NestedRec = record
x, y: integer;
end;
PRec = ^Rec;
Rec = record
items: array of NestedRec;
end;
const
OffsetOf2Y = PtrUint(@PRec(nil)^.items[2].y);
begin
end.