summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tstring7.pp
blob: d6ecbaad0300dfbac1d1605c4d058a33327e8a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.