]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/facet/2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / facet / 2.cc
index 844eb7b3d24518045c4e90c34cd58e396aea8861..f3059ee05b7f41f663bae6b7e2be68ce1e6305d9 100644 (file)
@@ -46,7 +46,7 @@ typedef surf facet_type;
 void test02()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // 1: Destroyed when out of scope.
   VERIFY( counter == 0 );