fpc/tests/webtbs/tw2131.pp
Jonas Maebe cc3c8605e0 + added
2002-10-04 16:16:01 +00:00

14 lines
217 B
ObjectPascal

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.