[libc++][NFC] Qualify nullptr_t in test
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 4 Oct 2021 15:19:16 +0000 (11:19 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 4 Oct 2021 15:20:24 +0000 (11:20 -0400)
libcxx/test/std/utilities/utility/utility.intcmp/intcmp.fail.cpp

index 8395f28..b5d68c8 100644 (file)
@@ -33,6 +33,7 @@
 //   constexpr bool in_range(T t) noexcept;      // C++20
 
 #include <utility>
+#include <cstddef>
 
 #include "test_macros.h"
 
@@ -133,7 +134,7 @@ int main() {
   test<std::byte>();
   test<NonEmptyT>();
   test<ColorT>();
-  test<nullptr_t>();
+  test<std::nullptr_t>();
   test<EmptyT>();
 
 #ifndef _LIBCPP_HAS_NO_CHAR8_T