mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 18:39:19 +02:00
no message
This commit is contained in:
parent
ff4c4f2e08
commit
5cd52d5a42
16
tests/tbf/tb0166.pp
Normal file
16
tests/tbf/tb0166.pp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
procedure p1(const v);
|
||||||
|
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
procedure p2;
|
||||||
|
|
||||||
|
var
|
||||||
|
lb : longbool;
|
||||||
|
|
||||||
|
begin
|
||||||
|
p1(pchar(@lb));
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
16
tests/webtbf/tw3047.pp
Normal file
16
tests/webtbf/tw3047.pp
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user