瀏覽代碼

* test fixed

peter 21 年之前
父節點
當前提交
9806510b53
共有 1 個文件被更改,包括 4 次插入2 次删除
  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.