]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / sync / char / 9182-1.cc
index a0411e2fff301b5cb059bc8ceaa6604120e482ed..9448c8490c7fbc323286bbc2f06f6828a544b5d4 100644 (file)
@@ -51,7 +51,7 @@ protected:
 void test13()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   locale loc =  locale::classic();
   loc = locale(loc, new errorcvt);
@@ -65,7 +65,7 @@ void test13()
   fbuf1.close();
 }
 
-main() 
+int main() 
 {
   test13();
   return 0;