diff --git a/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp --- a/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp +++ b/libcxx/test/std/concepts/concepts.lang/concept.common/common_with.compile.pass.cpp @@ -15,6 +15,8 @@ #include #include +#include "test_macros.h" + template constexpr bool CheckCommonWith() noexcept { constexpr bool result = std::common_with; diff --git a/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp --- a/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp +++ b/libcxx/test/std/concepts/concepts.lang/concept.commonref/common_reference.compile.pass.cpp @@ -15,6 +15,8 @@ #include #include +#include "test_macros.h" + template constexpr bool CheckCommonReferenceWith() noexcept { static_assert(std::common_reference_with); diff --git a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp --- a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp +++ b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/integral.pass.cpp @@ -16,6 +16,7 @@ #include #include "arithmetic.h" +#include "test_macros.h" template constexpr bool CheckIntegralQualifiers() { diff --git a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp --- a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp +++ b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/signed_integral.pass.cpp @@ -16,6 +16,7 @@ #include #include "arithmetic.h" +#include "test_macros.h" template constexpr bool CheckSignedIntegralQualifiers() { diff --git a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp --- a/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp +++ b/libcxx/test/std/concepts/concepts.lang/concepts.arithmetic/unsigned_integral.pass.cpp @@ -16,6 +16,7 @@ #include #include "arithmetic.h" +#include "test_macros.h" template constexpr bool CheckUnsignedIntegralQualifiers() { diff --git a/libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp b/libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp --- a/libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp +++ b/libcxx/test/std/language.support/cmp/cmp.concept/three_way_comparable.compile.pass.cpp @@ -15,6 +15,7 @@ #include #include "compare_types.h" +#include "test_macros.h" namespace fundamentals { // with default ordering diff --git a/libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp b/libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp --- a/libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp +++ b/libcxx/test/std/numerics/rand/rand.req/rand.req.urng/uniform_random_bit_generator.compile.pass.cpp @@ -14,6 +14,8 @@ #include +#include "test_macros.h" + static_assert(std::uniform_random_bit_generator< std::linear_congruential_engine >);