aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc b/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
index 12192f5bcab..2692bb4d196 100644
--- a/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
@@ -32,7 +32,7 @@ void test01()
typedef money_base::pattern pattern;
typedef ostreambuf_iterator<char> iterator_type;
- bool test = true;
+ bool test __attribute__((unused)) = true;
// basic construction
locale loc_c = locale::classic();
@@ -47,12 +47,6 @@ void test01()
// cache the moneypunct facets
typedef moneypunct<char, true> __money_true;
typedef moneypunct<char, false> __money_false;
- const __money_true& monpunct_c_t = use_facet<__money_true>(loc_c);
- const __money_true& monpunct_de_t = use_facet<__money_true>(loc_de);
- const __money_false& monpunct_c_f = use_facet<__money_false>(loc_c);
- const __money_false& monpunct_de_f = use_facet<__money_false>(loc_de);
- const __money_true& monpunct_hk_t = use_facet<__money_true>(loc_hk);
- const __money_false& monpunct_hk_f = use_facet<__money_false>(loc_hk);
// sanity check the data is correct.
const string empty;