mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-21 08:44:03 +02:00
33 lines
365 B
ObjectPascal
33 lines
365 B
ObjectPascal
{$L+}
|
|
unit Test2;
|
|
|
|
interface
|
|
|
|
type
|
|
PRecord = ^TRecord;
|
|
TRecord = record
|
|
Field1: longint;
|
|
Next : PRecord;
|
|
end;
|
|
|
|
function IsOdd(X: integer): boolean;
|
|
|
|
var
|
|
TEST2_X : real;
|
|
|
|
implementation
|
|
|
|
function IsOdd(X: integer): boolean;
|
|
var Z: byte;
|
|
begin
|
|
Z:=0;
|
|
X:=Z*X*Test8087;
|
|
IsOdd:=(X mod 2)=1;
|
|
end;
|
|
|
|
procedure static;
|
|
begin
|
|
end;
|
|
|
|
END.
|