tw0893.pp 228 B

1234567891011121314151617181920
  1. { %fail }
  2. { %CPU=i386 }
  3. {$asmmode intel}
  4. type
  5. BugObject = object
  6. Fld: word;
  7. procedure WontCompile;
  8. end;
  9. procedure BugObject.WontCompile;
  10. begin
  11. asm
  12. xor ax, ax
  13. mov fld, ax
  14. end;
  15. end;
  16. begin
  17. end.