]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/22_locale/collate/compare/char/3.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 22_locale / collate / compare / char / 3.cc
index 6712832294c8f63ca9286c514d1d5eab6e75920b..7de98aa7925df4d6958b99447ba966ad79020127 100644 (file)
@@ -29,7 +29,7 @@ void test03()
   using namespace std;
   typedef std::collate<char>::string_type string_type;
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // basic construction
   locale loc_c = locale::classic();