mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 18:49:27 +02:00
* fixed tests
git-svn-id: trunk@14794 -
This commit is contained in:
parent
d898c8d836
commit
5b1e713e5b
@ -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
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user