diff --git a/tests/std/tests/P0912R5_coroutine/test.cpp b/tests/std/tests/P0912R5_coroutine/test.cpp index 0a0933cd84b..e86c429c0f6 100644 --- a/tests/std/tests/P0912R5_coroutine/test.cpp +++ b/tests/std/tests/P0912R5_coroutine/test.cpp @@ -8,6 +8,8 @@ using namespace std; #define STATIC_ASSERT(...) static_assert(__VA_ARGS__, #__VA_ARGS__) +#pragma warning(disable : 6397) // The address-of operator cannot return null pointer in well-defined code. + int g_tasks_destroyed{0}; struct Task {