]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/ios_base/storage/1.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / ios_base / storage / 1.cc
index ee27d44788c184e3a60e5c5d4dc407988a1004bc..ce5303111acf8d471361609ef87a941f49d792c5 100644 (file)
 // http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00413.html
 void test01() 
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   
   using namespace std;
 
-  long x1 = ios::xalloc();
-  long x2 = ios::xalloc();
-  long x3 = ios::xalloc();
+  ios::xalloc();
+  ios::xalloc();
+  ios::xalloc();
   long x4 = ios::xalloc();
 
   ostringstream out("the element of crime, lars von trier");