]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / overflow / char / 9182-2.cc
index b752bce8a492c182d0912511de2c89f2dc5c0778..9904f194109c5de93831f20b6fd2ea88ab6f92c4 100644 (file)
@@ -51,7 +51,7 @@ protected:
 void test14()
 {
   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 test14()
   fbuf1.close();
 }
 
-main() 
+int main() 
 {
   test14();
   return 0;