diff options
Diffstat (limited to 'libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc')
-rw-r--r-- | libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc index 07e3ce63cac..02a2de8f051 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/7.cc @@ -34,7 +34,7 @@ // NB: this is a defect in the standard. void test07(void) { - bool test = true; + bool test __attribute__((unused)) = true; const std::string name("z6.cc"); std::istringstream iss (name); int i = 0; |