Explorar o código

* add a knowncompileerror for big endian case

pierre %!s(int64=22) %!d(string=hai) anos
pai
achega
a9ea64b788
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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}