diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2019-05-31 18:35:30 +0000 |
commit | 7fc6a55688c816f5fc1a5481ae7af25be7500356 (patch) | |
tree | cac80ad839e171aa372cd03df408af1b90125db6 /libcxx/test/std/language.support | |
parent | 065bd45da9de57668cfaabe1b851a2e08acea215 (diff) | |
download | bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.tar.gz bcm5719-llvm-7fc6a55688c816f5fc1a5481ae7af25be7500356.zip |
Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.
llvm-svn: 362252
Diffstat (limited to 'libcxx/test/std/language.support')
41 files changed, 82 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp b/libcxx/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp index ec4afd7f69d..00c09b774f1 100644 --- a/libcxx/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp +++ b/libcxx/test/std/language.support/cstdint/cstdint.syn/cstdint.pass.cpp @@ -18,6 +18,8 @@ #include <limits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { // typedef std::int8_t diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp index f0b2bd21fec..a4016bff741 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/bad.alloc/bad_alloc.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::exception, std::bad_alloc>::value), diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp index 35fd1304125..4018383e1a4 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value), diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp index b69fe15232c..b6fb1582e74 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.handler/new_handler.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + void f() {} int main(int, char**) diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp index a9ed3b0cf36..d20a65d8b6b 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler.pass.cpp @@ -11,6 +11,8 @@ #include <new> #include <cassert> +#include "test_macros.h" + void f1() {} void f2() {} diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp index cff382b0ee3..b0becc9efe8 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler.pass.cpp @@ -11,6 +11,8 @@ #include <new> #include <cassert> +#include "test_macros.h" + void f1() {} void f2() {} diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp index 8256b93185d..b857b397fc8 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new.pass.cpp @@ -11,6 +11,8 @@ #include <new> #include <cassert> +#include "test_macros.h" + int A_constructed = 0; struct A diff --git a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp index 8a78df6bffb..99a5442b6fb 100644 --- a/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.placement/new_array.pass.cpp @@ -11,6 +11,8 @@ #include <new> #include <cassert> +#include "test_macros.h" + int A_constructed = 0; struct A diff --git a/libcxx/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp index e5f4fbe6dcf..b6a8f9caa1f 100644 --- a/libcxx/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/bad.exception/bad_exception.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::exception, std::bad_exception>::value), diff --git a/libcxx/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp b/libcxx/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp index 204c3b567e7..a3bf862f3f1 100644 --- a/libcxx/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp @@ -17,6 +17,8 @@ #include <cstdlib> #include <cassert> +#include "test_macros.h" + class A { int data_; diff --git a/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp b/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp index 851d93bc0c8..debc8b42820 100644 --- a/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/get_terminate.pass.cpp @@ -12,6 +12,8 @@ #include <cstdlib> #include <cassert> +#include "test_macros.h" + void f1() {} void f2() {} diff --git a/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp b/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp index e4464b9afc1..860eddc7200 100644 --- a/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception.terminate/set.terminate/set_terminate.pass.cpp @@ -12,6 +12,8 @@ #include <cstdlib> #include <cassert> +#include "test_macros.h" + void f1() {} void f2() {} diff --git a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp index 2519f0bc9ce..748e71ac13b 100644 --- a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + void f() {} int main(int, char**) diff --git a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp index 4243fb5cadf..f585c77d84b 100644 --- a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate/terminate.pass.cpp @@ -12,6 +12,8 @@ #include <cstdlib> #include <cassert> +#include "test_macros.h" + void f1() { std::exit(0); diff --git a/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp b/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp index 893a7d5b363..1a04aca654a 100644 --- a/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception/exception.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert(std::is_polymorphic<std::exception>::value, diff --git a/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp index c95368163d4..de924016c4f 100644 --- a/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/propagation/current_exception.pass.cpp @@ -18,6 +18,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + struct A { static int constructed; diff --git a/libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp index 164e7774be9..5bd11903a60 100644 --- a/libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp @@ -15,6 +15,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + int main(int, char**) { std::exception_ptr p; diff --git a/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp index b26212fd136..8d7f6d0ead5 100644 --- a/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp @@ -14,6 +14,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + struct A { static int constructed; diff --git a/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp index 015dbef224f..49c30c3be10 100644 --- a/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/propagation/rethrow_exception.pass.cpp @@ -14,6 +14,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + struct A { static int constructed; diff --git a/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp b/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp index 61cfc8f11c1..004d525521d 100644 --- a/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exception.pass.cpp @@ -12,6 +12,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + struct A { ~A() diff --git a/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp b/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp index c25e4d2e069..c498b5778ba 100644 --- a/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/uncaught/uncaught_exceptions.pass.cpp @@ -22,6 +22,8 @@ #include <exception> #include <cassert> +#include "test_macros.h" + struct Uncaught { Uncaught(int depth) : d_(depth) {} ~Uncaught() { assert(std::uncaught_exceptions() == d_); } diff --git a/libcxx/test/std/language.support/support.initlist/include_cxx03.pass.cpp b/libcxx/test/std/language.support/support.initlist/include_cxx03.pass.cpp index 282636ed05b..c4643a88b5f 100644 --- a/libcxx/test/std/language.support/support.initlist/include_cxx03.pass.cpp +++ b/libcxx/test/std/language.support/support.initlist/include_cxx03.pass.cpp @@ -12,6 +12,8 @@ #include <initializer_list> +#include "test_macros.h" + int main(int, char**) { diff --git a/libcxx/test/std/language.support/support.initlist/types.pass.cpp b/libcxx/test/std/language.support/support.initlist/types.pass.cpp index 1b48980a240..55f2094c41c 100644 --- a/libcxx/test/std/language.support/support.initlist/types.pass.cpp +++ b/libcxx/test/std/language.support/support.initlist/types.pass.cpp @@ -23,6 +23,8 @@ #include <initializer_list> #include <type_traits> +#include "test_macros.h" + struct A {}; int main(int, char**) diff --git a/libcxx/test/std/language.support/support.limits/c.limits/climits.pass.cpp b/libcxx/test/std/language.support/support.limits/c.limits/climits.pass.cpp index d124f7ca28d..75015eb5701 100644 --- a/libcxx/test/std/language.support/support.limits/c.limits/climits.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/c.limits/climits.pass.cpp @@ -10,6 +10,8 @@ #include <climits> +#include "test_macros.h" + #ifndef CHAR_BIT #error CHAR_BIT not defined #endif diff --git a/libcxx/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp index adbd102dc20..484c84425cd 100644 --- a/libcxx/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/denorm.style/check_values.pass.cpp @@ -12,6 +12,8 @@ #include <limits> +#include "test_macros.h" + typedef char one; struct two {one _[2];}; diff --git a/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp index b836555afc7..e4546fee4bd 100644 --- a/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/is_specialized.pass.cpp @@ -26,6 +26,8 @@ #include <limits> #include <complex> +#include "test_macros.h" + template <class T> void test() { diff --git a/libcxx/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp index 6e258c13a78..88ca21fbba4 100644 --- a/libcxx/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp @@ -14,6 +14,8 @@ #include <limits> #include <cassert> +#include "test_macros.h" + struct A { A(int i = 0) : data_(i) {} diff --git a/libcxx/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp b/libcxx/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp index b1a4e4450a1..bb47763f376 100644 --- a/libcxx/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/limits/round.style/check_values.pass.cpp @@ -12,6 +12,8 @@ #include <limits> +#include "test_macros.h" + typedef char one; struct two {one _[2];}; diff --git a/libcxx/test/std/language.support/support.limits/version.pass.cpp b/libcxx/test/std/language.support/support.limits/version.pass.cpp index 783af5c728b..edcb9767850 100644 --- a/libcxx/test/std/language.support/support.limits/version.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/version.pass.cpp @@ -11,6 +11,8 @@ #include <version> +#include "test_macros.h" + int main(int, char**) { diff --git a/libcxx/test/std/language.support/support.rtti/bad.cast/bad_cast.pass.cpp b/libcxx/test/std/language.support/support.rtti/bad.cast/bad_cast.pass.cpp index 23afd223cc4..5614752a58f 100644 --- a/libcxx/test/std/language.support/support.rtti/bad.cast/bad_cast.pass.cpp +++ b/libcxx/test/std/language.support/support.rtti/bad.cast/bad_cast.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::exception, std::bad_cast>::value), diff --git a/libcxx/test/std/language.support/support.rtti/bad.typeid/bad_typeid.pass.cpp b/libcxx/test/std/language.support/support.rtti/bad.typeid/bad_typeid.pass.cpp index 94424bb03ad..a9097af96c0 100644 --- a/libcxx/test/std/language.support/support.rtti/bad.typeid/bad_typeid.pass.cpp +++ b/libcxx/test/std/language.support/support.rtti/bad.typeid/bad_typeid.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { static_assert((std::is_base_of<std::exception, std::bad_typeid>::value), diff --git a/libcxx/test/std/language.support/support.rtti/type.info/type_info.pass.cpp b/libcxx/test/std/language.support/support.rtti/type.info/type_info.pass.cpp index 980bfeeccdc..99c354b3d5a 100644 --- a/libcxx/test/std/language.support/support.rtti/type.info/type_info.pass.cpp +++ b/libcxx/test/std/language.support/support.rtti/type.info/type_info.pass.cpp @@ -13,6 +13,8 @@ #include <cstring> #include <cassert> +#include "test_macros.h" + bool test_constructor_explicit(std::type_info const&) { return false; } bool test_constructor_explicit(std::string const&) { return true; } diff --git a/libcxx/test/std/language.support/support.rtti/type.info/type_info_hash.pass.cpp b/libcxx/test/std/language.support/support.rtti/type.info/type_info_hash.pass.cpp index c65f3bbf790..4232770b8ff 100644 --- a/libcxx/test/std/language.support/support.rtti/type.info/type_info_hash.pass.cpp +++ b/libcxx/test/std/language.support/support.rtti/type.info/type_info_hash.pass.cpp @@ -12,6 +12,8 @@ #include <cstring> #include <cassert> +#include "test_macros.h" + int main(int, char**) { const std::type_info& t1 = typeid(int); diff --git a/libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp b/libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp index c1fa71b0e37..0e3d8f69e99 100644 --- a/libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp @@ -11,6 +11,8 @@ #include <csetjmp> #include <type_traits> +#include "test_macros.h" + #ifndef setjmp #error setjmp not defined #endif diff --git a/libcxx/test/std/language.support/support.runtime/csignal.pass.cpp b/libcxx/test/std/language.support/support.runtime/csignal.pass.cpp index dcfb4f99f5f..4548d3417ec 100644 --- a/libcxx/test/std/language.support/support.runtime/csignal.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/csignal.pass.cpp @@ -11,6 +11,8 @@ #include <csignal> #include <type_traits> +#include "test_macros.h" + #ifndef SIG_DFL #error SIG_DFL not defined #endif diff --git a/libcxx/test/std/language.support/support.runtime/cstdbool.pass.cpp b/libcxx/test/std/language.support/support.runtime/cstdbool.pass.cpp index 461e77c9983..1d0e9b06a43 100644 --- a/libcxx/test/std/language.support/support.runtime/cstdbool.pass.cpp +++ b/libcxx/test/std/language.support/support.runtime/cstdbool.pass.cpp @@ -10,6 +10,8 @@ #include <cstdbool> +#include "test_macros.h" + #ifndef __bool_true_false_are_defined #error __bool_true_false_are_defined not defined #endif diff --git a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp index 50d408aa0ba..f3e361931d9 100644 --- a/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp +++ b/libcxx/test/std/language.support/support.start.term/quick_exit.pass.cpp @@ -11,6 +11,8 @@ #include <cstdlib> +#include "test_macros.h" + void f() {} int main(int, char**) diff --git a/libcxx/test/std/language.support/support.types/null.pass.cpp b/libcxx/test/std/language.support/support.types/null.pass.cpp index 66ecdbc147c..d0787ff37d3 100644 --- a/libcxx/test/std/language.support/support.types/null.pass.cpp +++ b/libcxx/test/std/language.support/support.types/null.pass.cpp @@ -8,6 +8,8 @@ #include <cstddef> +#include "test_macros.h" + #ifndef NULL #error NULL not defined #endif diff --git a/libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp b/libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp index b7696df974b..b21bfc2f0ef 100644 --- a/libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp +++ b/libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp @@ -16,6 +16,8 @@ #include <cstddef> #include <cassert> +#include "test_macros.h" + int main(int, char**) { std::ptrdiff_t i = reinterpret_cast<std::ptrdiff_t>(nullptr); diff --git a/libcxx/test/std/language.support/support.types/ptrdiff_t.pass.cpp b/libcxx/test/std/language.support/support.types/ptrdiff_t.pass.cpp index de6f7726fe2..518acd77a10 100644 --- a/libcxx/test/std/language.support/support.types/ptrdiff_t.pass.cpp +++ b/libcxx/test/std/language.support/support.types/ptrdiff_t.pass.cpp @@ -9,6 +9,8 @@ #include <cstddef> #include <type_traits> +#include "test_macros.h" + // ptrdiff_t should: // 1. be in namespace std. diff --git a/libcxx/test/std/language.support/support.types/size_t.pass.cpp b/libcxx/test/std/language.support/support.types/size_t.pass.cpp index 5c840457b37..5bfaebb24f4 100644 --- a/libcxx/test/std/language.support/support.types/size_t.pass.cpp +++ b/libcxx/test/std/language.support/support.types/size_t.pass.cpp @@ -9,6 +9,8 @@ #include <cstddef> #include <type_traits> +#include "test_macros.h" + // size_t should: // 1. be in namespace std. |