summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/numeric.ops
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-03-14 17:20:02 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-03-14 17:20:02 +0000
commit6f8dddf169336449aac339e6e107d604e8adf6a4 (patch)
tree3fe239e445244fd64cea5b422dc5a2cf7433e457 /libcxx/test/std/numerics/numeric.ops
parentfa3f6401daec574a647a5a119912fb7ec86a43d5 (diff)
downloadbcm5719-llvm-6f8dddf169336449aac339e6e107d604e8adf6a4.tar.gz
bcm5719-llvm-6f8dddf169336449aac339e6e107d604e8adf6a4.zip
Fix two of the three bot failures for midpoint; the ones regarding the lack of '__int128_t'
llvm-svn: 356169
Diffstat (limited to 'libcxx/test/std/numerics/numeric.ops')
-rw-r--r--libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
index 6b0f095a07a..32d931b2479 100644
--- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
+++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
@@ -115,7 +115,6 @@ int main(int, char**)
signed_test<int16_t>();
signed_test<int32_t>();
signed_test<int64_t>();
- signed_test<__int128_t>();
unsigned_test<unsigned char>();
unsigned_test<unsigned short>();
@@ -127,7 +126,11 @@ int main(int, char**)
unsigned_test<uint16_t>();
unsigned_test<uint32_t>();
unsigned_test<uint64_t>();
+
+#ifndef _LIBCPP_HAS_NO_INT128
unsigned_test<__uint128_t>();
+ signed_test<__int128_t>();
+#endif
// int_test<char>();
signed_test<ptrdiff_t>();
OpenPOWER on IntegriCloud