summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/ext/allocators.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/ext/allocators.cc')
-rw-r--r--libstdc++-v3/testsuite/ext/allocators.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/ext/allocators.cc b/libstdc++-v3/testsuite/ext/allocators.cc
index 34188c47328..85205d53a7b 100644
--- a/libstdc++-v3/testsuite/ext/allocators.cc
+++ b/libstdc++-v3/testsuite/ext/allocators.cc
@@ -64,7 +64,7 @@ operator delete(void *v) throw()
template<typename Alloc, bool uses_global_new_and_delete>
void check_allocator()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
new_called = false;
delete_called = false;
requested = 0;
OpenPOWER on IntegriCloud