aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/num_get/1.cc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2003-09-23 20:03:30 +0000
committerBenjamin Kosnik <bkoz@redhat.com>2003-09-23 20:03:30 +0000
commit1d4a6a5990ea0a9cecfee647552386b5d8bc46ac (patch)
tree743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/22_locale/num_get/1.cc
parentbb2b060c8cdf47b4bac5307ecfc15248a5070390 (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.cc2
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;