OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / overflow / char / 2-unbuf.cc
index 9c5da44..661bd1d 100644 (file)
@@ -36,7 +36,7 @@ public:
 void test01()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef OverBuf::traits_type  traits_type;
 
   OverBuf fb;
@@ -47,7 +47,7 @@ void test01()
   fb.close();
 }
 
-main() 
+int main() 
 {
   test01();
   return 0;