Browse Source

* crash fix

peter 26 years ago
parent
commit
41a7522c69
2 changed files with 2 additions and 0 deletions
  1. 1 0
      tests/ts010000.pp
  2. 1 0
      tests/ts010004.pp

+ 1 - 0
tests/ts010000.pp

@@ -29,6 +29,7 @@ var
    i : longint;
    i : longint;
 
 
 begin
 begin
+   object1:=tobject1.create;
    i:=object1.l;
    i:=object1.l;
    i:=object1.l2;
    i:=object1.l2;
    object1.l:=123;
    object1.l:=123;

+ 1 - 0
tests/ts010004.pp

@@ -18,5 +18,6 @@ type
    end;
    end;
 
 
 begin
 begin
+   c:=tclass1.create;
    c.i:=12;
    c.i:=12;
 end.
 end.