Browse Source

* tests should fail (see added comment)

git-svn-id: trunk@13637 -
Jonas Maebe 16 years ago
parent
commit
b93ff4c71c
3 changed files with 12 additions and 0 deletions
  1. 4 0
      tests/test/cg/cdecl/taoc4.pp
  2. 4 0
      tests/test/cg/cdecl/taoc5.pp
  3. 4 0
      tests/test/cg/cdecl/taoc6.pp

+ 4 - 0
tests/test/cg/cdecl/taoc4.pp

@@ -1,7 +1,11 @@
+{ %fail }
 { %cpu=i386 }
 
 { This test expects values on the stack, which is i386 only }
 
+{ This test should fail, because it can indeed only ever work on i386,
+  and even there the default typing by the compiler is wrong.  }
+
 { fourth simple array of const test }
 
 {$mode objfpc}

+ 4 - 0
tests/test/cg/cdecl/taoc5.pp

@@ -1,7 +1,11 @@
+{ %fail }
 { %cpu=i386 }
 
 { This test expects values on the stack, which is i386 only }
 
+{ This test should fail, because it can indeed only ever work on i386,
+  and even there the default typing by the compiler is wrong.  }
+
 { fifth simple array of const test }
 
 {$mode objfpc}

+ 4 - 0
tests/test/cg/cdecl/taoc6.pp

@@ -1,7 +1,11 @@
+{ %fail }
 { %cpu=i386 }
 
 { This test expects values on the stack, which is i386 only }
 
+{ This test should fail, because it can indeed only ever work on i386,
+  and even there the default typing by the compiler is wrong.  }
+
 { sixth simple array of const test
   for int64 values }