fpc/tests/tbs0174.pp
1998-12-02 13:05:01 +00:00

20 lines
198 B
ObjectPascal

{$ASMMODE ATT}
type
tobj=object
l : longint;
end;
var
t : tobj;
procedure kl;assembler;
asm
movl tobj.l,%eax // tobj.l should return the offset of l in tobj
end;
begin
end.