summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
index 21011ed17cd..62f1b784b7d 100644
--- a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/default.pass.cpp
+++ b/libcxx/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
}
OpenPOWER on IntegriCloud