Browse Source

no message

florian 21 years ago
parent
commit
5cd52d5a42
2 changed files with 32 additions and 0 deletions
  1. 16 0
      tests/tbf/tb0166.pp
  2. 16 0
      tests/webtbf/tw3047.pp

+ 16 - 0
tests/tbf/tb0166.pp

@@ -0,0 +1,16 @@
+procedure p1(const v);
+
+  begin
+  end;
+
+procedure p2;
+
+  var
+    lb : longbool;
+
+  begin
+    p1(pchar(@lb));
+  end;
+
+begin
+end.

+ 16 - 0
tests/webtbf/tw3047.pp

@@ -0,0 +1,16 @@
+{ Source provided for Free Pascal Bug Report 3047 }
+{ Submitted by "GBD" on  2004-04-12 }
+{ e-mail:  }
+{ $mode delphi}
+
+function JenkinsHashBuffer(const buffer; length : Integer; initVal : Integer) : longword;
+begin
+end;
+
+function JenkinsHashString(const s : String) : longword;
+begin
+                result := JenkinsHashBuffer(PChar(s), Length(s), 0)
+end;
+
+begin
+end.