Browse Source

no message

florian 21 years ago
parent
commit
17c92356a8
1 changed files with 7 additions and 2 deletions
  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
 type
   tmyclass = class
   tmyclass = class
+    function f2 : ansistring;
     function f : widestring;
     function f : widestring;
     procedure p(var v);
     procedure p(var v);
   end;
   end;
@@ -9,9 +10,13 @@ procedure tmyclass.p(var v);
   begin
   begin
   end;
   end;
   
   
-function tmyclass.f : widestring;
+ function tmyclass.f2 : ansistring;
   begin
   begin
     p(pchar(result));
     p(pchar(result));
+  end;
+
+function tmyclass.f : widestring;
+  begin
     p(pwidechar(result));
     p(pwidechar(result));
   end;
   end;