]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/4.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / 4.cc
index 9516cb2eccba02ecd91273a5cda98c5e045bba4a..e330430973c6f332949067bf9e58d9a7bfacdd13 100644 (file)
@@ -28,7 +28,7 @@ void test01()
   typedef std::filebuf test_type;
   typedef std::streambuf base_type;
   const test_type& obj = test_type();
-  const base_type* base = &obj;
+  const base_type* base __attribute__((unused)) = &obj;
 }
 
 int main()