mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 01:09:27 +02:00

U compiler/nadd.pas U compiler/ncnv.pas U compiler/ncon.pas U compiler/node.pas A tests/test/tcurrency1.pp A tests/webtbs/tw33963.pp A tests/webtbs/tw36179.pp -- Aufzeichnung der Informationen für Zusammenführung von r43620 in ».«: U . git-svn-id: branches/fixes_3_2@43621 -
12 lines
186 B
ObjectPascal
12 lines
186 B
ObjectPascal
{$ifdef fpc}{$mode delphi}{$H+}{$endif}
|
|
var C: Currency;
|
|
begin
|
|
c:= 1000;
|
|
c:= c*1.05;
|
|
// at this point C=1050
|
|
writeln(c:4:2);
|
|
if c<>1050 then
|
|
halt(1);
|
|
writeln('ok');
|
|
end.
|