[libcxx] r252613 - std:: qualify ptrdiff_t in the test. Thanks to Walter for the catch

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 10 08:04:14 PST 2015


Author: marshall
Date: Tue Nov 10 10:04:13 2015
New Revision: 252613

URL: http://llvm.org/viewvc/llvm-project?rev=252613&view=rev
Log:
std:: qualify ptrdiff_t in the test. Thanks to Walter for the catch

Modified:
    libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp

Modified: libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp?rev=252613&r1=252612&r2=252613&view=diff
==============================================================================
--- libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp (original)
+++ libcxx/trunk/test/std/depr/depr.c.headers/stdint_h.pass.cpp Tue Nov 10 10:04:13 2015
@@ -223,10 +223,10 @@ int main()
     assert(UINTMAX_MAX == std::numeric_limits<uintmax_t>::max());
 
     // PTRDIFF_MIN
-    assert(PTRDIFF_MIN == std::numeric_limits<ptrdiff_t>::min());
+    assert(PTRDIFF_MIN == std::numeric_limits<std::ptrdiff_t>::min());
 
     // PTRDIFF_MAX
-    assert(PTRDIFF_MAX == std::numeric_limits<ptrdiff_t>::max());
+    assert(PTRDIFF_MAX == std::numeric_limits<std::ptrdiff_t>::max());
 
     // SIG_ATOMIC_MIN
     assert(SIG_ATOMIC_MIN == std::numeric_limits<sig_atomic_t>::min());




More information about the cfe-commits mailing list