aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/locale/cons/5.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/locale/cons/5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
index 5492a0ce723..697b4a49c67 100644
--- a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
+++ b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
@@ -28,7 +28,7 @@
// More tests for locale("") == POSIX locale::name.
void test04()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
using namespace std;
#ifdef _GLIBCXX_HAVE_SETENV