fpc/tests/webtbs/tw3235.pp
Jonas Maebe e8aee02c7c + added
2004-08-09 16:42:16 +00:00

20 lines
418 B
ObjectPascal

program TestStrIComp;
uses
SysUtils;
var l: longint;
begin
l := StrIComp('abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ');
if (l <> 0) then
begin
writeln('error: expected 0, got ',l);
halt(1);
end;
l := StrIComp('ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz');
if (l <> 0) then
begin
writeln('error: expected 0, got ',l);
halt(1);
end;
end.