소스 검색

+ Test for #17591

git-svn-id: trunk@16294 -
sergei 14 년 전
부모
커밋
b002c36e8b
2개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .gitattributes
  2. 14 0
      tests/webtbs/tw17591.pp

+ 1 - 0
.gitattributes

@@ -10722,6 +10722,7 @@ tests/webtbs/tw1755.pp svneol=native#text/plain
 tests/webtbs/tw17550.pp svneol=native#text/plain
 tests/webtbs/tw17560.pp svneol=native#text/plain
 tests/webtbs/tw1758.pp svneol=native#text/plain
+tests/webtbs/tw17591.pp svneol=native#text/plain
 tests/webtbs/tw17604.pp svneol=native#text/plain
 tests/webtbs/tw17646.pp svneol=native#text/plain
 tests/webtbs/tw1765.pp svneol=native#text/plain

+ 14 - 0
tests/webtbs/tw17591.pp

@@ -0,0 +1,14 @@
+program comparetext;
+{$ifdef FPC}{$mode objfpc}{$h+}{$endif}
+{$ifdef mswindows}{$apptype console}{$endif}
+uses
+ sysutils{,msesysintf};
+var
+ int1: integer;
+ ustr1,ustr2: unicodestring;
+begin
+ ustr1:= 'A';
+ ustr2:= 'a';
+ writeln(unicodecomparestr(ustr1,ustr2));
+ writeln(unicodecomparetext(ustr1,ustr2));
+end.