diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-02-10 22:44:14 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-02-10 22:44:14 +0000 |
commit | 3bc2e084291d119532720df70682ebfa42eaf200 (patch) | |
tree | 23c1d93725f7ce3fc927f46fbca28aed22538897 /libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp | |
parent | bfbff07e73dd612193e9bb8e3ec1bec1bfab62f0 (diff) | |
download | bcm5719-llvm-3bc2e084291d119532720df70682ebfa42eaf200.tar.gz bcm5719-llvm-3bc2e084291d119532720df70682ebfa42eaf200.zip |
Fix a bug I introduced in the tests for experimental::lcm and experimental::gcd.
llvm-svn: 294798
Diffstat (limited to 'libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp')
-rw-r--r-- | libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp index 2c1a3b8f3fd..3f86cfe4c7f 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp @@ -132,7 +132,7 @@ int main() // LWG#2792 { - auto res = std::gcd((int64_t)1234, (int32_t)-2147483648); + auto res = std::experimental::gcd((int64_t)1234, (int32_t)-2147483648); static_assert( std::is_same<decltype(res), std::common_type<int64_t, int32_t>::type>::value, ""); assert(res == 2); } |