fpc/tests/tbf/tb0293.pp
2022-07-17 22:14:13 +02:00

15 lines
156 B
ObjectPascal

{ %fail }
{$mode objfpc}
type
PRec = ^Rec;
Rec = record
x: array[2 .. 4] of integer;
end;
const
OffsetOfX1 = PtrUint(@PRec(nil)^.x[1]);
begin
end.