Browse Source

* fixed

git-svn-id: trunk@2551 -
Jonas Maebe 19 years ago
parent
commit
95a44d5beb
1 changed files with 11 additions and 5 deletions
  1. 11 5
      tests/test/opt/treg4.pp

+ 11 - 5
tests/test/opt/treg4.pp

@@ -27,9 +27,15 @@ begin
   r.b2 := 31;
   r.b2 := 31;
 end;
 end;
 
 
-procedure t3(out r: tr);
+procedure t3(out r: tr); inline;
 begin
 begin
-  t2(r);
+  r.l := 88;
+  r.b2 := 9;
+end;
+
+procedure t4(out r: tr);
+begin
+  t3(r);
 end;
 end;
 
 
 
 
@@ -41,8 +47,8 @@ begin
   if ((r.l and 255) <> 7) or
   if ((r.l and 255) <> 7) or
      (r.b2 <> 31) then
      (r.b2 <> 31) then
     halt(1);
     halt(1);
-  t3(r);
-  if (r.b3 <> 6) or
-     ((r.l and 255) <> 5) then
+  t4(r);
+  if ((r.l and 255) <> 88) or
+     (r.b2 <> 9) then
     halt(1);
     halt(1);
 end.
 end.