diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc index 942589bb540..f8f97fa691a 100644 --- a/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc @@ -32,7 +32,7 @@ void test01() typedef money_base::pattern pattern; typedef ostreambuf_iterator<wchar_t> 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<wchar_t, true> __money_true; typedef moneypunct<wchar_t, 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 wstring empty; |