]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/9027.cc
locale_facets.tcc: Tweak to avoid warnings.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_filebuf / underflow / char / 9027.cc
index 0e4c077bc21470420ec2479ce37dd79c3186324c..768cba16172da78e83f9c8459b825377e3cdc431 100644 (file)
@@ -62,7 +62,7 @@ void test01()
 {
   using namespace std;
 
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   const char* name = "filebuf_virtuals-1.txt";
   locale loc (locale::classic(), new Cvt_to_upper);