* fixed tests

git-svn-id: trunk@14794 -
This commit is contained in:
florian 2010-01-24 15:00:49 +00:00
parent d898c8d836
commit 5b1e713e5b
2 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
{ consts > 255 are truncated (should work in -S2,-Sd) OK 0.99.11 (PFV) } { consts > 255 are truncated (should work in -S2,-Sd) OK 0.99.11 (PFV) }
{ this is not true anymore because it can lead silently to bugs, { this is not true anymore because it can lead silently to bugs,
it is allowed now in $H+ mode else it causes an error (FK) } it is allowed now in $H+ mode else it causes an error (FK) }
{$H+}
{$mode objfpc} {$mode objfpc}
{$H+}
{$X-} {$X-}
const const

View File

@ -4,6 +4,6 @@ var
begin begin
{ String constants can't exceed 255 chars } { String constants can't exceed 255 chars }
i:=length('12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'); i:=length('12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890');
if i<>280 then if i<>290 then
halt(1); halt(1);
end. end.