mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
+ forgotten test for r17808
git-svn-id: trunk@17811 -
This commit is contained in:
parent
8e7f39f176
commit
01f07ae466
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -10369,6 +10369,7 @@ tests/test/trox1.pp svneol=native#text/plain
|
||||
tests/test/trox2.pp svneol=native#text/plain
|
||||
tests/test/trox3.pp svneol=native#text/pascal
|
||||
tests/test/trox4.pp svneol=native#text/pascal
|
||||
tests/test/trox5.pp svneol=native#text/pascal
|
||||
tests/test/trstr1.pp svneol=native#text/plain
|
||||
tests/test/trstr2.pp svneol=native#text/plain
|
||||
tests/test/trstr3.pp svneol=native#text/plain
|
||||
|
13
tests/test/trox5.pp
Normal file
13
tests/test/trox5.pp
Normal file
@ -0,0 +1,13 @@
|
||||
{$r-}
|
||||
var
|
||||
l : longint;
|
||||
begin
|
||||
l:=$ff;
|
||||
l:=RorByte(l);
|
||||
if l<>$ff then
|
||||
halt(1);
|
||||
l:=RolByte(l);
|
||||
if l<>$ff then
|
||||
halt(1);
|
||||
writeln('ok');
|
||||
end.
|
Loading…
Reference in New Issue
Block a user