mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
* fixed test (comparechar0 is defined as returning values <, =, > 0, not
just -1, 0, 1) git-svn-id: trunk@9220 -
This commit is contained in:
parent
c64ab62bdf
commit
a68581efef
@ -10,13 +10,13 @@ begin
|
||||
if res<>0 then
|
||||
halt(1);
|
||||
res:=CompareChar0(str1[0],str3[0],maxint);
|
||||
if res<>-1 then
|
||||
if res>=0 then
|
||||
halt(1);
|
||||
res:=CompareChar0(str4[0],str1[0],maxint);
|
||||
if res<>-1 then
|
||||
if res>=0 then
|
||||
halt(1);
|
||||
res:=CompareChar0(str1[0],str4[0],maxint);
|
||||
if res<>1 then
|
||||
if res<=0 then
|
||||
halt(1);
|
||||
|
||||
writeln('ok');
|
||||
|
Loading…
Reference in New Issue
Block a user