mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:28:08 +02:00
19 lines
252 B
ObjectPascal
19 lines
252 B
ObjectPascal
{ Stupid compare test
|
|
but it once failed for m68k code PM }
|
|
|
|
var
|
|
st : string;
|
|
|
|
begin
|
|
|
|
st:='t';
|
|
|
|
if st > 'ta' then
|
|
begin
|
|
writeln('Error "t">"ta" is wrong !');
|
|
runerror(1);
|
|
end
|
|
else
|
|
writeln('String compare works OK !');
|
|
end.
|