2
0
Jonas Maebe 23 жил өмнө
parent
commit
cc3c8605e0
1 өөрчлөгдсөн 13 нэмэгдсэн , 0 устгасан
  1. 13 0
      tests/webtbs/tw2131.pp

+ 13 - 0
tests/webtbs/tw2131.pp

@@ -0,0 +1,13 @@
+program bug2131;
+
+var
+  TestStr : string;
+begin
+  Str (1.789e12:1, TestStr);
+  if (teststr <> ' 1.8E+0012') then
+    begin
+      writeln('error, got "',teststr,'" expected " 1.8E+0012"');
+      halt(1);
+    end
+end.
+