fpc/tests/webtbs/tw8677.pp
peter 81c88bd27d * new test
git-svn-id: trunk@7305 -
2007-05-10 16:54:40 +00:00

24 lines
272 B
ObjectPascal

{$mode delphi}
function REGVAR(InputBuffer : Pointer): double;
var
x: integer;
temp, y: double;
begin
x := 1;
y := 1;
temp := exp((x/y));
Result:= Temp;
end;
var
Ptr1: pointer;
begin
Ptr1 := 0;
REGVAR(Ptr1);
writeln('Test Complete.');
end.