fpc/tests/webtbs/tw16315b.pp
florian 0085c22c59 - NaN floating point constants do not anymore cause an error when $Q or $R is active (resolves #16315 and #14757)
+ $ieeeerrors (command line switch -C3) to enable errors on NaN floating point constants
+ tests

git-svn-id: trunk@15765 -
2010-08-10 19:05:13 +00:00

12 lines
98 B
ObjectPascal

{ %fail }
{$ieeeerrors+}
program test;
uses
Math;
var
D: Double;
begin
D := Infinity;
end.