OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / sungetc / char / 2-io.cc
index b45ba26..72f90ed 100644 (file)
@@ -38,7 +38,7 @@ void test01()
   typedef filebuf::traits_type         traits_type;
   typedef size_t               size_type;
 
-  bool                                 test = true;
+  bool test __attribute__((unused)) = true;
   streamsize                   strmsz_1, strmsz_2;
   int_type                     c1, c2, c3;
 
@@ -75,7 +75,7 @@ void test01()
   }
 }
 
-main() 
+int main() 
 {
   test01();
   return 0;