Browse Source

* fixed test.

git-svn-id: trunk@7730 -
yury 18 years ago
parent
commit
51493d673e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/webtbs/tw8935.pp

+ 3 - 0
tests/webtbs/tw8935.pp

@@ -1,6 +1,8 @@
 {%cpu=x86_64,i386,arm}
 {%cpu=x86_64,i386,arm}
 {%result=229}
 {%result=229}
 
 
+{$mode objfpc}
+
 procedure DoTest1; safecall;
 procedure DoTest1; safecall;
 var
 var
   i: integer;
   i: integer;
@@ -23,6 +25,7 @@ begin
   try
   try
     DoTest1;
     DoTest1;
   except
   except
+    ErrorAddr:=nil;
     Halt(1);
     Halt(1);
   end;
   end;
   if DoTest2 <> $12345678 then
   if DoTest2 <> $12345678 then