bug0174.pp 198 B

12345678910111213141516171819
  1. {$ASMMODE ATT}
  2. type
  3. tobj=object
  4. l : longint;
  5. end;
  6. var
  7. t : tobj;
  8. procedure kl;assembler;
  9. asm
  10. movl tobj.l,%eax // tobj.l should return the offset of l in tobj
  11. end;
  12. begin
  13. end.