浏览代码

* 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}