OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_iostream / 4.cc
index dbcf830..0c47e67 100644 (file)
@@ -32,8 +32,8 @@ void test01()
 
   std::stringbuf buf;
   const test_type& obj = test_type(&buf);
-  const base_type1* base1 = &obj;
-  const base_type2* base2 = &obj;
+  const base_type1* base1 __attribute__((unused)) = &obj;
+  const base_type2* base2 __attribute__((unused)) = &obj;
 }
 
 int main()