diff options
Diffstat (limited to 'test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp')
| -rw-r--r-- | test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp b/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp index 21011ed17cd9..62f1b784b7d9 100644 --- a/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp +++ b/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp @@ -20,10 +20,12 @@ int main() { { std::once_flag f; + (void)f; } #if TEST_STD_VER >= 11 { constexpr std::once_flag f; + (void)f; } #endif } |
