diff --git a/test/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp b/test/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp index 611ce56dd..a409740cf 100644 --- a/test/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp +++ b/test/language.support/support.limits/limits/numeric.limits.members/traps.pass.cpp @@ -13,6 +13,12 @@ #include +#if (defined(__i386__) || defined(__x86_64__)) +static const bool integral_types_trap = true; +#else +static const bool integral_types_trap = false; +#endif + template void test() @@ -26,22 +32,22 @@ test() int main() { test(); - test(); - test(); - test(); - test(); + test(); + test(); + test(); + test(); #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS - test(); - test(); + test(); + test(); #endif // _LIBCPP_HAS_NO_UNICODE_CHARS - test(); - test(); - test(); - test(); - test(); - test(); - test(); - test(); + test(); + test(); + test(); + test(); + test(); + test(); + test(); + test(); test(); test(); test();