Skip to content

Commit e961345

Browse files
committed
Disable failing tests with 12.3
1 parent 35b7e49 commit e961345

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

libcudacxx/.upstream-tests/test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ __host__ __device__ constexpr bool throws_invocable_r() {
5757
}
5858

5959
__host__ __device__ void test_noexcept_function_pointers() {
60+
#if !defined(TEST_COMPILER_NVCC) || TEST_STD_VER >= 17 // nvbug4360046
6061
struct Dummy {
6162
__host__ __device__ void foo() noexcept {}
6263
__host__ __device__ static void bar() noexcept {}
@@ -66,6 +67,7 @@ __host__ __device__ void test_noexcept_function_pointers() {
6667
// pointers.
6768
static_assert(cuda::std::is_nothrow_invocable<decltype(&Dummy::foo), Dummy&>::value, "");
6869
static_assert(cuda::std::is_nothrow_invocable<decltype(&Dummy::bar)>::value, "");
70+
#endif // !defined(TEST_COMPILER_NVCC) || TEST_STD_VER >= 17
6971
}
7072

7173
int main(int, char**) {

libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/special_members.pass.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
// UNSUPPORTED: c++03, c++11
1111

12+
// UNSUPPORTED: nvrtc
13+
// see nvbug4263883
14+
1215
// <cuda/std/optional>
1316

1417
// Make sure we properly generate special member functions for optional<T>

libcudacxx/.upstream-tests/test/std/utilities/optional/optional.object/triviality.pass.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
// UNSUPPORTED: c++03, c++11
1111

12+
// UNSUPPORTED: nvrtc
13+
// see nvbug4263883
14+
1215
// <cuda/std/optional>
1316

1417
// The following special member functions should propagate the triviality of

0 commit comments

Comments
 (0)