diff options
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; |