tb0037.pp 301 B

123456789101112131415
  1. { %FAIL }
  2. { %OPT=-Cg- }
  3. { Old file: tbf0175.pp }
  4. { Asm, mov word,%eax should not be allowed without casting emits a warning (or error with range checking enabled) OK 0.99.11 (PM) }
  5. { this will just give out an error }
  6. {$asmmode att}
  7. {$R+}
  8. var
  9. w : word;
  10. begin
  11. asm
  12. movl w,%ecx
  13. end;
  14. end.