diff --git a/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp index 3f6d919363b..a766e4ad038 100644 --- a/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp +++ b/libcudacxx/test/libcudacxx/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp @@ -146,8 +146,8 @@ template __host__ __device__ void test_is_not_constructible() { static_assert((!cuda::std::is_constructible::value), ""); -#if !defined(TEST_COMPILER_MSVC) && !defined(TEST_COMPILER_CLANG) - // The fallback SFINAE version doesn't work reliable with Clang/MSVC, and we don't +#if !defined(TEST_COMPILER_MSVC) && !defined(TEST_COMPILER_CLANG) && !defined(TEST_COMPILER_NVRTC) + // The fallback SFINAE version doesn't work reliable with Clang/MSVC/NVRTC, and we don't // use it, so waive it. static_assert((!cuda::std::__cccl_is_constructible::type::value), ""); #endif