]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / sbumpc / char / 1-in.cc
index f1b30d8de1abce812f741231c5360f57a1ec9669..14cc40f01529916e7cf0bbbe26774aa0b8d9b25a 100644 (file)
@@ -36,7 +36,7 @@ void test05()
   typedef filebuf::int_type    int_type;
   typedef filebuf::traits_type         traits_type;
 
-  bool                                         test = true;
+  bool test __attribute__((unused)) = true;
 
   // int_type sbumpc()
   // if read_cur not avail returns uflow(), else return *read_cur & increment
@@ -72,7 +72,7 @@ void test05()
   }
 }
 
-main() 
+int main() 
 {
   test05();
   return 0;