Browse Source

* fix calling of to1.destroy from to2.destroy

peter 22 years ago
parent
commit
4aec360876
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test/tclass2.pp

+ 1 - 1
tests/test/tclass2.pp

@@ -40,7 +40,7 @@ var
         writeln('to2.destroy');
         writeln('to2.destroy');
         if i<>4000 then
         if i<>4000 then
           halt(1);
           halt(1);
-        i:=1000;
+        i:=2000;
         inherited destroy;
         inherited destroy;
         i:=5000;
         i:=5000;
      end;
      end;