OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / overflow / char / 9182-2.cc
index b752bce..9904f19 100644 (file)
@@ -51,7 +51,7 @@ protected:
 void test14()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   
   locale loc =  locale::classic();
   loc = locale(loc, new errorcvt);
@@ -65,7 +65,7 @@ void test14()
   fbuf1.close();
 }
 
-main() 
+int main() 
 {
   test14();
   return 0;