mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 00:29:24 +02:00
* updated
This commit is contained in:
parent
325eb0860b
commit
b4f8802354
@ -1,6 +1,13 @@
|
|||||||
|
procedure free1;
|
||||||
begin
|
begin
|
||||||
asm
|
|
||||||
call {$ifdef dummy}freemem{$else}fpc_freemem{$endif}
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure free2;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
asm
|
||||||
|
call {$ifdef dummy}free1{$else}free2{$endif}
|
||||||
|
end;
|
||||||
end.
|
end.
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{ $OPT=-St -Cr }
|
{ $OPT=-St -Cr }
|
||||||
program test;
|
program test;
|
||||||
|
|
||||||
|
{$static on}
|
||||||
|
|
||||||
{$ifdef go32v2}
|
{$ifdef go32v2}
|
||||||
uses dpmiexcp;
|
uses dpmiexcp;
|
||||||
{$endif go32v2}
|
{$endif go32v2}
|
||||||
|
@ -6,5 +6,9 @@ type
|
|||||||
function GetCaps : Longint;virtual;stdcall;abstract;
|
function GetCaps : Longint;virtual;stdcall;abstract;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function to1.GetCaps2 : Longint;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
end.
|
end.
|
||||||
|
@ -24,7 +24,7 @@ begin
|
|||||||
compare(45,2);
|
compare(45,2);
|
||||||
if not greater then
|
if not greater then
|
||||||
error;
|
error;
|
||||||
compare(-5,26)
|
compare(-5,26);
|
||||||
if greater then
|
if greater then
|
||||||
error;
|
error;
|
||||||
end.
|
end.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ $OPT=-S2 -al -s }
|
{ $OPT=-S2 }
|
||||||
|
|
||||||
{
|
{
|
||||||
$Id$
|
$Id$
|
||||||
|
Loading…
Reference in New Issue
Block a user