OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / sbumpc / char / 1-out.cc
index 1a43f32..107af85 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
@@ -56,7 +56,7 @@ void test05()
   }
 }
 
-main() 
+int main() 
 {
   test05();
   return 0;