mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-31 17:42:30 +02:00
20 lines
265 B
ObjectPascal
20 lines
265 B
ObjectPascal
{ %cpu=i386 }
|
|
{ %target=go32v2,linux,freebsd,win32,haiku}
|
|
{ %opt=-Sew -vw }
|
|
|
|
{$mode delphi}
|
|
|
|
procedure test(l: longint); stdcall;
|
|
begin
|
|
if l<>longint($deadbeef) then
|
|
halt(1);
|
|
end;
|
|
|
|
begin
|
|
asm
|
|
push word $dead
|
|
push word $beef
|
|
call test
|
|
end;
|
|
end.
|