]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/manipulators/basefield/char/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / manipulators / basefield / char / 1.cc
index 10336f50f1cef45616b970ab3d861b95d083ef39..f16eb1a9c6c8c8d1120031b384b59ad02712da25 100644 (file)
@@ -44,7 +44,7 @@ char   MyNP::do_thousands_sep() const { return ' '; }
 
 void test01()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   const char lit[] = "0123 456\n: 01 234 567:\n:0123 456   :\n"
                      ":    012 345:\n:     01 234:\n:0726 746 425:\n"