diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2003-09-23 20:03:30 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@redhat.com> | 2003-09-23 20:03:30 +0000 |
commit | 1d4a6a5990ea0a9cecfee647552386b5d8bc46ac (patch) | |
tree | 743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/22_locale/num_get/1.cc | |
parent | bb2b060c8cdf47b4bac5307ecfc15248a5070390 (diff) |
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/num_get/1.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/num_get/1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/num_get/1.cc b/libstdc++-v3/testsuite/22_locale/num_get/1.cc index 4a3ced974cf..a9081bbf570 100644 --- a/libstdc++-v3/testsuite/22_locale/num_get/1.cc +++ b/libstdc++-v3/testsuite/22_locale/num_get/1.cc @@ -29,7 +29,7 @@ void test01() typedef std::num_get<char> test_type; typedef std::locale::facet base_type; const test_type& obj = std::use_facet<test_type>(std::locale()); - const base_type* base = &obj; + const base_type* base __attribute__((unused)) = &obj; // Check for required typedefs typedef test_type::char_type char_type; |