Fix a bug I introduced in the tests for experimental::lcm and experimental::gcd.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2017-02-10 22:44:14 +00:00
parent ebf66a385f
commit 197b8821c6
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}