diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-09-29 10:25:17 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-09-29 08:25:17 +0000 |
commit | 6cd6aed7900dd521cb45a208a4ca48bacedf23e4 (patch) | |
tree | 718d2e1b988297ad1f5c355573cf28f5dcb4a58d /libstdc++-v3 | |
parent | e7c4333b11f72d09dd2d1d8df45182bbee92e72f (diff) | |
download | gcc-6cd6aed7900dd521cb45a208a4ca48bacedf23e4.tar.gz |
12352.cc: Use __attribute__((unused)) for test.
2003-09-29 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/locale/cons/12352.cc:
Use __attribute__((unused)) for test.
From-SVN: r71896
Diffstat (limited to 'libstdc++-v3')
-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) { |