mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 06:10:34 +01:00
* simple test that failed for m68k
This commit is contained in:
parent
64f266bf07
commit
16bd288cae
18
tests/test/tstring7.pp
Normal file
18
tests/test/tstring7.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{ 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.
|
||||
Loading…
Reference in New Issue
Block a user