OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_ostream / sentry / char / 3983-sstream.cc
index 5f68c58..fe1a947 100644 (file)
@@ -30,6 +30,7 @@
 // 27.4.2.1.6 class ios_base::init
 
 #include <sstream>
+#include <typeinfo>
 #include <testsuite_hooks.h>
 
 // char_traits specialization
@@ -124,7 +125,7 @@ namespace std
 void test03()
 {
   using namespace std;
-  bool test = true;
+  bool test __attribute__((unused)) = true;
 
   // output streams
   basic_ostringstream<unsigned char> oss_uc;