mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 12:39:25 +02:00
* new tests
This commit is contained in:
parent
5f98096685
commit
5a0f9b10f9
8
tests/tbf/tb0112.pp
Normal file
8
tests/tbf/tb0112.pp
Normal file
@ -0,0 +1,8 @@
|
||||
{ %FAIL }
|
||||
{$J-}
|
||||
const
|
||||
w1 : word = 1;
|
||||
|
||||
begin
|
||||
w1:=2;
|
||||
end.
|
8
tests/tbf/tb0113.pp
Normal file
8
tests/tbf/tb0113.pp
Normal file
@ -0,0 +1,8 @@
|
||||
{ %FAIL }
|
||||
|
||||
var
|
||||
i : integer;
|
||||
begin
|
||||
{ String constants can't exceed 255 chars }
|
||||
i:=length('12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890');
|
||||
end.
|
7
tests/tbs/tb0382.pp
Normal file
7
tests/tbs/tb0382.pp
Normal file
@ -0,0 +1,7 @@
|
||||
{$J+}
|
||||
const
|
||||
w1 : word = 1;
|
||||
|
||||
begin
|
||||
w1:=2;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user