peter %!s(int64=21) %!d(string=hai) anos
pai
achega
9806510b53
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      tests/webtbf/tw3375.pp

+ 4 - 2
tests/webtbf/tw3375.pp

@@ -17,7 +17,9 @@ var
 
 begin
   w := 0;
-  p := pchar(w); // should fail, because sizeof(w)<>sizeof(p) on this platform.
-  //a := T4Bytes(w); // should fail, and it does
+  // The next line should compile, delphi compatible
+  p := pchar(w);
+  // should fail, and it does
+  a := T4Bytes(w);
 end.