tb0037.pp 287 B

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