Browse Source

no message

florian 21 years ago
parent
commit
d3b67cb11d
1 changed files with 19 additions and 0 deletions
  1. 19 0
      tests/tbs/tb0474.pp

+ 19 - 0
tests/tbs/tb0474.pp

@@ -0,0 +1,19 @@
+{$mode objfpc}
+type
+  tmyclass = class
+    function f : widestring;
+    procedure p(var v);
+  end;
+    
+procedure tmyclass.p(var v);  
+  begin
+  end;
+  
+function tmyclass.f : widestring;
+  begin
+    p(pchar(result));
+    p(pwidechar(result));
+  end;
+  
+begin
+end.