Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Suppress a PREfast warning in tests (#4265)
  • Loading branch information
Xazax-hun authored Dec 15, 2023
commit 7230fe4a812791c5c85b7eb2ad7ffc7c9dd34639
2 changes: 2 additions & 0 deletions tests/std/tests/P0912R5_coroutine/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down