]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / sbumpc / char / 9825.cc
index 8e419432ad8d4397e18b21655eb61360969d84fa..e4468b23b90163ea4a063a32b633b7a0da2b851e 100644 (file)
@@ -30,7 +30,7 @@ const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create
 void test12()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   filebuf fbuf;
 
@@ -48,7 +48,7 @@ void test12()
   fbuf.close();  
 }
 
-main() 
+int main() 
 {
   test12();
   return 0;