Browse Source

no message

florian 22 years ago
parent
commit
0816ccc204
1 changed files with 18 additions and 0 deletions
  1. 18 0
      tests/webtbs/tw2226.pp

+ 18 - 0
tests/webtbs/tw2226.pp

@@ -0,0 +1,18 @@
+{ Source provided for Free Pascal Bug Report 2226 }
+{ Submitted by "" on  2002-11-12 }
+{ e-mail:  }
+Program compcrash;
+
+const mindouble: double = -5.0E324;
+
+var
+  s : string;
+
+begin
+  str(mindouble,s);
+  if s<>'                   -Inf' then
+    begin
+      writeln('error');
+      halt(1);
+    end;
+end.