소스 검색

* add a knowncompileerror for big endian case

pierre 22 년 전
부모
커밋
a9ea64b788
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/tbs/tb0377.pp

+ 1 - 0
tests/tbs/tb0377.pp

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