Jonas Maebe 23 年之前
父节点
当前提交
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.
+