diff options
Diffstat (limited to 'libstdc++-v3/testsuite/24_iterators/istream_iterator.cc')
-rw-r--r-- | libstdc++-v3/testsuite/24_iterators/istream_iterator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/24_iterators/istream_iterator.cc b/libstdc++-v3/testsuite/24_iterators/istream_iterator.cc index d278e1994b4..3f097d512bf 100644 --- a/libstdc++-v3/testsuite/24_iterators/istream_iterator.cc +++ b/libstdc++-v3/testsuite/24_iterators/istream_iterator.cc @@ -33,7 +33,7 @@ void test01() typedef iterator<input_iterator_tag, long, ptrdiff_t, const long*, const long&> base_iterator; test_iterator r_it; - base_iterator* base = &r_it; + base_iterator* base __attribute__((unused)) = &r_it; // Check for required typedefs typedef test_iterator::value_type value_type; @@ -53,7 +53,7 @@ template class std::istream_iterator<char>; void test02() { using namespace std; - bool test = true; + bool test __attribute__((unused)) = true; string st("R.Rorty"); |