fpc/tests/test/tabsvr2.pp
Jonas Maebe 4f51aef122 + Support for debug info for absolute variables when using dwarf2.
Needs a fix in gdb when referencing a location relative to a
    global variable (an array element other than the first, a field
    other than the first) on Mac OS X and when using external debug
    info on Linux/Windows.

git-svn-id: trunk@12877 -
2009-03-13 21:16:06 +00:00

18 lines
137 B
ObjectPascal

{ %fail }
{$ifdef fpc}
{$mode delphi}
{$endif}
type
ta = class
a: byte;
end;
var
a: ta;
b: byte absolute a.a;
begin
end.