diff --git a/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp b/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp index e47431ca30b..3b246d74ecb 100644 --- a/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp +++ b/.upstream-tests/test/libcxx/type_traits/is_implicitly_default_constructible.pass.cpp @@ -81,10 +81,10 @@ static_assert(!cuda::std::__is_implicitly_default_constructible::value, ""); static_assert(!cuda::std::__is_implicitly_default_constructible::value, ""); static_assert(!cuda::std::__is_implicitly_default_constructible::value, ""); -#if !defined(TEST_COMPILER_GCC) || __GNUC__ > 6 // GCC 6 complains about implicit conversion +#if !defined(TEST_COMPILER_GCC) || __GNUC__ > 7 // GCC 6 + 7 complain about implicit conversion static_assert(!cuda::std::__is_implicitly_default_constructible::value, ""); static_assert(!cuda::std::__is_implicitly_default_constructible::value, ""); -#endif // !defined(TEST_COMPILER_GCC) || __GNUC__ > 6 +#endif // !defined(TEST_COMPILER_GCC) || __GNUC__ > 7 int main(int, char**) { return 0;