mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 14:29:13 +02:00
* mess cleaned up
This commit is contained in:
parent
693491048b
commit
28b4189a9a
13
tw40041a.pp
13
tw40041a.pp
@ -1,13 +0,0 @@
|
||||
{$mode objfpc}
|
||||
function Shift(x: single): single; noinline;
|
||||
begin
|
||||
result := x + 10.0 - 1.0;
|
||||
end;
|
||||
|
||||
begin
|
||||
if Shift(5.0) <> 14.0 then
|
||||
begin
|
||||
writeln('Got ', Shift(5.0):0:1, ', expected 14.0.');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user