diff --git a/libcudacxx/test/libcudacxx/cuda/utilities/expected/device_only_types.pass.cpp b/libcudacxx/test/libcudacxx/cuda/utilities/expected/device_only_types.pass.cpp index a5a0a9d5746..69c2ad0eb6a 100644 --- a/libcudacxx/test/libcudacxx/cuda/utilities/expected/device_only_types.pass.cpp +++ b/libcudacxx/test/libcudacxx/cuda/utilities/expected/device_only_types.pass.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// // We cannot suppress execution checks in cuda::std::construct_at -// XFAIL: c++20 && !nvrtc +// XFAIL: c++20 && !nvrtc && nvcc // UNSUPPORTED: clang-14 #include diff --git a/libcudacxx/test/libcudacxx/cuda/utilities/optional/device_only_types.pass.cpp b/libcudacxx/test/libcudacxx/cuda/utilities/optional/device_only_types.pass.cpp index bad64aa25ec..3ec925e4ae2 100644 --- a/libcudacxx/test/libcudacxx/cuda/utilities/optional/device_only_types.pass.cpp +++ b/libcudacxx/test/libcudacxx/cuda/utilities/optional/device_only_types.pass.cpp @@ -8,7 +8,7 @@ //===----------------------------------------------------------------------===// // We cannot suppress execution checks in cuda::std::construct_at -// XFAIL: c++20 && !nvrtc +// XFAIL: c++20 && !nvrtc && nvcc // UNSUPPORTED: clang-14 #include