diff options
Diffstat (limited to 'test/std/localization/c.locales/clocale.pass.cpp')
-rw-r--r-- | test/std/localization/c.locales/clocale.pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/localization/c.locales/clocale.pass.cpp b/test/std/localization/c.locales/clocale.pass.cpp index a90725bfa367..534213495cd9 100644 --- a/test/std/localization/c.locales/clocale.pass.cpp +++ b/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 |