summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tabsvr2.pp
blob: b3a069498d67412476b542a00fbd907b11326945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ %fail }

{$ifdef fpc}
{$mode delphi}
{$endif}

type
  ta = class
    a: byte;
  end;

var
  a: ta;
  b: byte absolute a.a;
begin
end.