소스 검색

no message

florian 21 년 전
부모
커밋
17c92356a8
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      tests/tbf/tb0165.pp

+ 7 - 2
tests/tbs/tb0474.pp → tests/tbf/tb0165.pp

@@ -1,6 +1,7 @@
-{$mode objfpc}
+{ $mode objfpc}
 type
   tmyclass = class
+    function f2 : ansistring;
     function f : widestring;
     procedure p(var v);
   end;
@@ -9,9 +10,13 @@ procedure tmyclass.p(var v);
   begin
   end;
   
-function tmyclass.f : widestring;
+ function tmyclass.f2 : ansistring;
   begin
     p(pchar(result));
+  end;
+
+function tmyclass.f : widestring;
+  begin
     p(pwidechar(result));
   end;