diff --git a/tests/webtbs/tw8513.pp b/tests/webtbs/tw8513.pp index 798822e87b..31b45fbbad 100644 --- a/tests/webtbs/tw8513.pp +++ b/tests/webtbs/tw8513.pp @@ -41,7 +41,11 @@ begin if (itemasbyte <> $de) then halt(1); +{$ifdef FPC_BIG_ENDIAN} if (itemasword <> $dead) then +{$else} + if (itemasword <> $adde) then +{$endif} halt(3); r.a := $de;