OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / setbuf / char / 2.cc
index 6261c99..7cca957 100644 (file)
@@ -27,7 +27,7 @@ void test01()
 {
   using namespace std;
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   char buf[512];
   const char* strlit = "how to tell a story and other essays: mark twain";
   const size_t strlitsize = std::strlen(strlit);
@@ -38,7 +38,7 @@ void test01()
   VERIFY( std::strncmp(strlit, buf, strlitsize) == 0 );
 }
 
-main() 
+int main() 
 {
   test01();
   return 0;