OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / seekoff / char / 2-io.cc
index 8be6f5e..9fc418f 100644 (file)
@@ -32,15 +32,14 @@ const char name_01[] = "seekoff-2io.tst";
 void test05() 
 {
   using namespace std;
-  using namespace __gnu_cxx_test;
+  using namespace __gnu_test;
 
   typedef filebuf::int_type    int_type;
   typedef filebuf::pos_type    pos_type;
   typedef filebuf::off_type    off_type;
 
-  bool                                 test = true;
+  bool test __attribute__((unused)) = true;
   streamsize                   strmsz_1, strmsz_2;
-  streamoff                    strmof_1, strmof_2;
 
   int_type c1;
   int_type c2;
@@ -115,7 +114,7 @@ void test05()
   }
 }
 
-main() 
+int main() 
 {
   test05();
   return 0;