Browse Source

* add a knowncompileerror for big endian case

pierre 22 years ago
parent
commit
a9ea64b788
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/tbs/tb0377.pp

+ 1 - 0
tests/tbs/tb0377.pp

@@ -1,4 +1,5 @@
 { %OPT=-vn }
 { %OPT=-vn }
+{ %KNOWNCOMPILEERROR= Typecasting assignment values with types of different sizes is refused even in TP mode for big endian cpus }
 {$ifdef ENDIAN_BIG}
 {$ifdef ENDIAN_BIG}
 {$note This test should fail on big endian machines. }
 {$note This test should fail on big endian machines. }
 {$endif}
 {$endif}