summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/localization/c.locales/clocale.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/localization/c.locales/clocale.pass.cpp')
-rw-r--r--libcxx/test/std/localization/c.locales/clocale.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/localization/c.locales/clocale.pass.cpp b/libcxx/test/std/localization/c.locales/clocale.pass.cpp
index a90725bfa36..534213495cd 100644
--- a/libcxx/test/std/localization/c.locales/clocale.pass.cpp
+++ b/libcxx/test/std/localization/c.locales/clocale.pass.cpp
@@ -47,6 +47,7 @@
int main()
{
std::lconv lc;
+ ((void)lc); // Prevent unused warning
#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
static_assert((std::is_same<decltype(std::setlocale(0, "")), char*>::value), "");
#endif
OpenPOWER on IntegriCloud