mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 10:39:29 +02:00
* new bug
This commit is contained in:
parent
08c8b2ea2c
commit
9ff3d9ac58
23
tests/webtbs/tw2631.pp
Normal file
23
tests/webtbs/tw2631.pp
Normal file
@ -0,0 +1,23 @@
|
||||
{ %cpu=i386 }
|
||||
|
||||
{ Source provided for Free Pascal Bug Report 2631 }
|
||||
{ Submitted by "Arnstein" on 2003-08-12 }
|
||||
{ e-mail: Arnstein.Prytz@jcu.edu.au }
|
||||
|
||||
{$ifdef fpc}{$mode delphi}{$endif}
|
||||
|
||||
function d : int64;
|
||||
begin
|
||||
asm
|
||||
xor ecx,ecx
|
||||
mov dword ptr Result,$00000000;
|
||||
mov dword ptr Result+4,$00100000;
|
||||
mov dword ptr Result[4+ECX*2],$00100000;
|
||||
end;
|
||||
end;
|
||||
|
||||
begin
|
||||
WRITELN( d );
|
||||
if d<>$0010000000000000 then
|
||||
halt(1);
|
||||
end.
|
Loading…
Reference in New Issue
Block a user