mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 18:08:17 +02:00

+ $ieeeerrors (command line switch -C3) to enable errors on NaN floating point constants + tests git-svn-id: trunk@15765 -
12 lines
98 B
ObjectPascal
12 lines
98 B
ObjectPascal
{ %fail }
|
|
{$ieeeerrors+}
|
|
program test;
|
|
uses
|
|
Math;
|
|
var
|
|
D: Double;
|
|
begin
|
|
D := Infinity;
|
|
end.
|
|
|