summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc b/libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc
index 4d4518fb776..0790ac60f4a 100644
--- a/libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc
+++ b/libstdc++-v3/testsuite/22_locale/money_put/put/char/4.cc
@@ -27,14 +27,13 @@
void test04()
{
using namespace std;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// Check money_put works with other iterators besides streambuf
// output iterators. (As long as output_iterator requirements are met.)
typedef string::iterator iter_type;
typedef money_put<char, iter_type> mon_put_type;
const ios_base::iostate goodbit = ios_base::goodbit;
- const ios_base::iostate eofbit = ios_base::eofbit;
ios_base::iostate err = goodbit;
const locale loc_c = locale::classic();
// woman, art, thief (stole the blues)