diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers')
20 files changed, 39 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/depr.c.headers/assert_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/assert_h.pass.cpp index d680f33efcc..364e931dc89 100644 --- a/libcxx/test/std/depr/depr.c.headers/assert_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/assert_h.pass.cpp @@ -10,6 +10,8 @@ #include <assert.h> +#include "test_macros.h" + #ifndef assert #error assert not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/ciso646.pass.cpp b/libcxx/test/std/depr/depr.c.headers/ciso646.pass.cpp index 3eb4064e69e..b619499a5de 100644 --- a/libcxx/test/std/depr/depr.c.headers/ciso646.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/ciso646.pass.cpp @@ -10,6 +10,8 @@ #include <ciso646> +#include "test_macros.h" + int main(int, char**) { diff --git a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp index d92ddb67b0e..92dc58c2df0 100644 --- a/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/complex.h.pass.cpp @@ -10,6 +10,8 @@ #include <complex.h> +#include "test_macros.h" + int main(int, char**) { std::complex<double> d; diff --git a/libcxx/test/std/depr/depr.c.headers/ctype_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/ctype_h.pass.cpp index 61b539d4093..b5deeee7ae2 100644 --- a/libcxx/test/std/depr/depr.c.headers/ctype_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/ctype_h.pass.cpp @@ -12,6 +12,8 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" + #ifdef isalnum #error isalnum defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp index 985cdc7f5c4..30f8ac05107 100644 --- a/libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp @@ -11,6 +11,8 @@ #include <errno.h> +#include "test_macros.h" + #ifndef EDOM #error EDOM not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp index 6b38f4e6c5d..5a1633a2936 100644 --- a/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/fenv_h.pass.cpp @@ -13,6 +13,8 @@ #include <fenv.h> #include <type_traits> +#include "test_macros.h" + #ifndef FE_DIVBYZERO #error FE_DIVBYZERO not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/inttypes_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/inttypes_h.pass.cpp index a088733119e..e759a7d3c75 100644 --- a/libcxx/test/std/depr/depr.c.headers/inttypes_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/inttypes_h.pass.cpp @@ -11,6 +11,8 @@ #include <inttypes.h> #include <type_traits> +#include "test_macros.h" + #ifndef INT8_MIN #error INT8_MIN not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/iso646_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/iso646_h.pass.cpp index 77ca126278d..61510feb3c0 100644 --- a/libcxx/test/std/depr/depr.c.headers/iso646_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/iso646_h.pass.cpp @@ -10,6 +10,8 @@ #include <iso646.h> +#include "test_macros.h" + int main(int, char**) { // Nothing to test diff --git a/libcxx/test/std/depr/depr.c.headers/limits_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/limits_h.pass.cpp index 5dba10edfb7..bd0c7b9e0f5 100644 --- a/libcxx/test/std/depr/depr.c.headers/limits_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/limits_h.pass.cpp @@ -10,6 +10,8 @@ #include <limits.h> +#include "test_macros.h" + #ifndef CHAR_BIT #error CHAR_BIT not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp index fd2419bb707..51af3aebc4d 100644 --- a/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp @@ -11,6 +11,8 @@ #include <locale.h> #include <type_traits> +#include "test_macros.h" + #ifndef LC_ALL #error LC_ALL not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp index 2077a072333..94a2fc4d2ff 100644 --- a/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp @@ -12,6 +12,7 @@ #include <type_traits> #include <cassert> +#include "test_macros.h" #include "hexfloat.h" #include "truncate_fp.h" diff --git a/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp index 1878f4f8470..3c938012bdf 100644 --- a/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/setjmp_h.pass.cpp @@ -11,6 +11,8 @@ #include <setjmp.h> #include <type_traits> +#include "test_macros.h" + #ifndef setjmp #error setjmp not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/signal_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/signal_h.pass.cpp index 463d670ba1e..07a729eee69 100644 --- a/libcxx/test/std/depr/depr.c.headers/signal_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/signal_h.pass.cpp @@ -11,6 +11,8 @@ #include <signal.h> #include <type_traits> +#include "test_macros.h" + #ifndef SIG_DFL #error SIG_DFL not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/stdbool_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdbool_h.pass.cpp index 132ad9c5cd9..ca580a8db8e 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdbool_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdbool_h.pass.cpp @@ -10,6 +10,8 @@ #include <stdbool.h> +#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/depr/depr.c.headers/stdint_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/stdint_h.pass.cpp index 68efe7992af..36f0ae8fd68 100644 --- a/libcxx/test/std/depr/depr.c.headers/stdint_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/stdint_h.pass.cpp @@ -17,6 +17,8 @@ #include <limits> #include <cassert> +#include "test_macros.h" + int main(int, char**) { // typedef int8_t diff --git a/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp index 8ed1513b356..c5eac1adbf9 100644 --- a/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp @@ -11,6 +11,8 @@ #include <string.h> #include <type_traits> +#include "test_macros.h" + #ifndef NULL #error NULL not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp index 28cf93ada0a..88e42fb3fef 100644 --- a/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp @@ -10,6 +10,8 @@ #include <tgmath.h> +#include "test_macros.h" + int main(int, char**) { std::complex<double> cd; diff --git a/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp index 5c2cc57bc69..31aff19c535 100644 --- a/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/time_h.pass.cpp @@ -11,6 +11,8 @@ #include <time.h> #include <type_traits> +#include "test_macros.h" + #ifndef NULL #error NULL not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp index b964ea76f94..e9ad90d90e8 100644 --- a/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp @@ -12,6 +12,8 @@ #include <stdarg.h> #include <type_traits> +#include "test_macros.h" + #ifndef NULL #error NULL not defined #endif diff --git a/libcxx/test/std/depr/depr.c.headers/wctype_h.pass.cpp b/libcxx/test/std/depr/depr.c.headers/wctype_h.pass.cpp index 1774a7f0897..8ec5bbd4674 100644 --- a/libcxx/test/std/depr/depr.c.headers/wctype_h.pass.cpp +++ b/libcxx/test/std/depr/depr.c.headers/wctype_h.pass.cpp @@ -11,6 +11,8 @@ #include <wctype.h> #include <type_traits> +#include "test_macros.h" + #ifndef WEOF #error WEOF not defined #endif |