OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / imbue / char / 3.cc
index 1899278..0cd5d0f 100644 (file)
@@ -35,7 +35,7 @@ protected:
 void test03()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   locale loc_s(locale::classic(), new state_codecvt);
   filebuf ob;
@@ -48,7 +48,7 @@ void test03()
   VERIFY( ob.getloc() == loc_s );
 }
 
-main() 
+int main() 
 {
   test03();
   return 0;