From 0ed9fac622abf4e803d8ea62b1c809425b043ab6 Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Fri, 31 Jan 2025 01:03:01 +0000 Subject: [PATCH] Waive __cccl_is_constructable test for NVRTC. --- .../meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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