std:: qualify ptrdiff_t in the test. Thanks to Walter for the catch
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -223,10 +223,10 @@ int main()
|
|||||||
assert(UINTMAX_MAX == std::numeric_limits<uintmax_t>::max());
|
assert(UINTMAX_MAX == std::numeric_limits<uintmax_t>::max());
|
||||||
|
|
||||||
// PTRDIFF_MIN
|
// PTRDIFF_MIN
|
||||||
assert(PTRDIFF_MIN == std::numeric_limits<ptrdiff_t>::min());
|
assert(PTRDIFF_MIN == std::numeric_limits<std::ptrdiff_t>::min());
|
||||||
|
|
||||||
// PTRDIFF_MAX
|
// PTRDIFF_MAX
|
||||||
assert(PTRDIFF_MAX == std::numeric_limits<ptrdiff_t>::max());
|
assert(PTRDIFF_MAX == std::numeric_limits<std::ptrdiff_t>::max());
|
||||||
|
|
||||||
// SIG_ATOMIC_MIN
|
// SIG_ATOMIC_MIN
|
||||||
assert(SIG_ATOMIC_MIN == std::numeric_limits<sig_atomic_t>::min());
|
assert(SIG_ATOMIC_MIN == std::numeric_limits<sig_atomic_t>::min());
|
||||||
|
|||||||
Reference in New Issue
Block a user