mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 11:39:32 +02:00
* test for array of word passing
This commit is contained in:
parent
c4b84ce276
commit
c43aeba013
12
tests/webtbs/tw1567.pp
Normal file
12
tests/webtbs/tw1567.pp
Normal file
@ -0,0 +1,12 @@
|
||||
procedure hallo(a:array of word);
|
||||
begin
|
||||
writeln(a[0],' ',a[1],' ',a[2]);
|
||||
if (a[0]<>999) or
|
||||
(a[1]<>999) or
|
||||
(a[2]<>999) then
|
||||
halt(1);
|
||||
end;
|
||||
|
||||
begin
|
||||
hallo([999,999,999]);
|
||||
end.
|
Loading…
Reference in New Issue
Block a user