aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc b/libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc
index aed5fcb4370..f7c4cb044dc 100644
--- a/libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc
+++ b/libstdc++-v3/testsuite/22_locale/num_get/get/char/4.cc
@@ -29,14 +29,13 @@
void test04()
{
using namespace std;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// Check num_get works with other iterators besides streambuf
// output iterators. (As long as output_iterator requirements are met.)
typedef string::const_iterator iter_type;
typedef num_get<char, iter_type> num_get_type;
const ios_base::iostate goodbit = ios_base::goodbit;
- const ios_base::iostate eofbit = ios_base::eofbit;
ios_base::iostate err = ios_base::goodbit;
const locale loc_c = locale::classic();
const string str("20000106 Elizabeth Durack");