瀏覽代碼

* adapt test to range check

git-svn-id: trunk@6534 -
pierre 18 年之前
父節點
當前提交
c5f685e72e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/test/cg/tmoddiv.pp

+ 2 - 0
tests/test/cg/tmoddiv.pp

@@ -144,6 +144,8 @@ begin
   Write('Value should be -1...');
   test(longres, -1);
 
+  { the following test give range check errors }
+  {$R-}
   { special tests for results }
   Writeln('special numeric values tests...');
   longres := $7FFFFFFF;