mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
* moved tb0151 from tbf to tbs
This commit is contained in:
parent
980efd582d
commit
2d05b23107
@ -1,4 +1,3 @@
|
||||
{ %fail }
|
||||
|
||||
{$ifdef fpc}{$mode tp}{$endif}
|
||||
|
||||
@ -9,7 +8,6 @@ var
|
||||
begin
|
||||
j:=5;
|
||||
i:=-1;
|
||||
{ this is not allowed for big endian, even not in tp7 mode }
|
||||
byte(i):=j;
|
||||
writeln('i: ',i,' (should be -251)');
|
||||
if i<>-251 then
|
||||
@ -17,6 +15,5 @@ begin
|
||||
end.
|
||||
{$else}
|
||||
begin
|
||||
{$error Test is big endian only, fail for little endian}
|
||||
end.
|
||||
{$endif}
|
Loading…
Reference in New Issue
Block a user