mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-21 23:41:37 +02:00
parent
5df9b994d1
commit
8bbd2e4030
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -15057,6 +15057,7 @@ tests/webtbs/tw2767.pp svneol=native#text/plain
|
||||
tests/webtbs/tw27691.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2771.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2772.pp svneol=native#text/plain
|
||||
tests/webtbs/tw27744.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw27750a.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw27750b.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw2776.pp svneol=native#text/plain
|
||||
|
19
tests/webtbs/tw27744.pp
Normal file
19
tests/webtbs/tw27744.pp
Normal file
@ -0,0 +1,19 @@
|
||||
{ %opt=-Oodfa -Sew }
|
||||
{$mode objfpc}
|
||||
|
||||
type
|
||||
tarr = array of longint;
|
||||
var
|
||||
a: array of longint;
|
||||
|
||||
function IndexOfValue(const a: tarr; l: longint): longint;
|
||||
begin
|
||||
for result:=low(a) to high(a) do
|
||||
if a[result]=l then
|
||||
exit;
|
||||
result:=-1;
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user