diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc b/libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc index ddb2c3f5d6f..422a53340eb 100644 --- a/libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc +++ b/libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc @@ -32,7 +32,7 @@ void test02() typedef money_base::pattern pattern; typedef istreambuf_iterator<char> iterator_type; - bool test = true; + bool test __attribute__((unused)) = true; // basic construction locale loc_c = locale::classic(); @@ -47,12 +47,6 @@ void test02() // 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; |