mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 17:49:27 +02:00
* improved test
git-svn-id: trunk@2550 -
This commit is contained in:
parent
a3a0cf098a
commit
b160cf3540
@ -21,12 +21,18 @@ begin
|
||||
halt(1);
|
||||
end;
|
||||
|
||||
procedure t2(out r: tr);
|
||||
procedure t2(out r: tr); inline;
|
||||
begin
|
||||
r.l := 7;
|
||||
r.b2 := 31;
|
||||
end;
|
||||
|
||||
procedure t3(out r: tr);
|
||||
begin
|
||||
t2(r);
|
||||
end;
|
||||
|
||||
|
||||
var
|
||||
r: tr;
|
||||
begin
|
||||
@ -35,4 +41,8 @@ begin
|
||||
if ((r.l and 255) <> 7) or
|
||||
(r.b2 <> 31) then
|
||||
halt(1);
|
||||
t3(r);
|
||||
if (r.b3 <> 6) or
|
||||
((r.l and 255) <> 5) then
|
||||
halt(1);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user