mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 00:08:17 +02:00
17 lines
330 B
ObjectPascal
17 lines
330 B
ObjectPascal
{ %skiptarget=android }
|
|
{ %CPU=i386 }
|
|
{ %OPT=-Cg- }
|
|
{ Old file: tbs0175.pp }
|
|
{ Asm, mov word,%eax should not be allowed without casting emits a warning (or error with range checking enabled) OK 0.99.11 (PM) }
|
|
|
|
{ this will just give out a warning }
|
|
{$asmmode att}
|
|
{$R-}
|
|
var
|
|
w : word;
|
|
begin
|
|
asm
|
|
movl w,%ecx
|
|
end;
|
|
end.
|