summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw8141.pp
blob: 131cf7ee002fe3ea40d08518322a988668b80b25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ %norun }
uses
  Classes, SysUtils;

type
  ARec = packed record
  {$ifdef cpu64}
    hi, lo : DWord;
  {$else}
    hi, lo : Word;
  {$endif}
  end;

var
  List : TList;
begin
  with ARec(Pointer(List.Last)) do
    lo := 1;
end.