diff options
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc b/libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc index 7d59a8a6099..c79e5400581 100644 --- a/libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc +++ b/libstdc++-v3/testsuite/20_util/raw_storage_iterator.cc @@ -1,6 +1,6 @@ // 2001-06-18 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2003 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -31,7 +31,7 @@ void test01() typedef raw_storage_iterator<long*, long> test_iterator; typedef iterator<output_iterator_tag, void, void, void, void> base_iterator; test_iterator rs_it(&l); - base_iterator* base = &rs_it; + base_iterator* base __attribute__((unused)) = &rs_it; // Check for required typedefs typedef test_iterator::value_type value_type; |