diff options
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/allocator_members.cc')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/allocator_members.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/20_util/allocator_members.cc b/libstdc++-v3/testsuite/20_util/allocator_members.cc index 8c40ab760f7..4170a9d9a96 100644 --- a/libstdc++-v3/testsuite/20_util/allocator_members.cc +++ b/libstdc++-v3/testsuite/20_util/allocator_members.cc @@ -45,7 +45,7 @@ void operator delete(void *v) throw() void test01() { - bool test = true; + bool test __attribute__((unused)) = true; std::allocator<gnu> obj; // XXX These should work for various size allocation and @@ -61,7 +61,7 @@ void test01() // libstdc++/8230 void test02() { - bool test = true; + bool test __attribute__((unused)) = true; try { std::allocator<int> alloc; |