Browse Source

no message

florian 21 years ago
parent
commit
51a249e0c5
1 changed files with 21 additions and 0 deletions
  1. 21 0
      tests/tbs/tb0475.pp

+ 21 - 0
tests/tbs/tb0475.pp

@@ -0,0 +1,21 @@
+{$mode delphi}
+type
+  to1 = class
+     fp : longint;
+     property p : longint read fp write fp;
+  end;
+
+procedure p(const v);
+  begin
+  end;
+
+var
+  a : pchar;
+  o1 : to1;
+
+begin
+  o1:=to1.create;
+  p(a[0]);
+  p(o1.p);
+  o1.free;
+end.