OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / snextc / char / 2-io.cc
index 8c2c0e8..151b636 100644 (file)
@@ -37,8 +37,8 @@ void test05()
   typedef filebuf::int_type    int_type;
   typedef filebuf::traits_type         traits_type;
 
-  bool                                         test = true;
-  int_type                     c1, c2, c3;
+  bool test __attribute__((unused)) = true;
+  int_type                     c1, c3;
 
   // int_type snextc()
   // calls sbumpc and if sbumpc != eof, return sgetc
@@ -74,7 +74,7 @@ void test05()
   }
 }
 
-main() 
+int main() 
 {
   test05();
   return 0;