diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c49d9d782d3..d421c40a3b3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Paolo Carlini <pcarlini@unitus.it> + + * testsuite/22_locale/locale/cons/12352.cc: + Use __attribute__((unused)) for test. + 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com> * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc index 42639595154..71b041398bc 100644 --- a/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc +++ b/libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc @@ -92,7 +92,7 @@ void operator delete[](void* p, const std::nothrow_t&) throw() void test01(int iters) { using namespace std; - bool test = true; + bool test __attribute__((unused)) = true; for (int j = 0; j < iters; ++j) { |