Pārlūkot izejas kodu

* tests have to fail
* "fixed" tests so they also fail on 32 bit platforms

git-svn-id: trunk@13149 -

Jonas Maebe 16 gadi atpakaļ
vecāks
revīzija
ea356808b1
2 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. 3 0
      tests/tbf/tb0210.pp
  2. 3 1
      tests/tbf/tb0211.pp

+ 3 - 0
tests/tbf/tb0210.pp

@@ -1,7 +1,10 @@
+{ %fail }
+
 // check whether enums can NOT be casted to object references; this 
 // should NOT work in objfpc mode (see also tbs/tb0554.pp)
 {$mode objfpc}
 
+{$packenum 2}
 type
   TEnum = (a, b, c);
   

+ 3 - 1
tests/tbf/tb0211.pp

@@ -1,9 +1,11 @@
+{ %fail }
+
 // check whether integers can NOT be casted to object references; this 
 // should NOT work in objfpc mode (see also tbs/tb0554.pp)
 {$mode objfpc}
 
 var
-  i : Integer;
+  i : Word;
   o : TObject;
 
 begin