summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc')
-rw-r--r--libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc b/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc
index 930b0b1e6ba..0ce84046e8d 100644
--- a/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc
+++ b/libstdc++-v3/testsuite/20_util/allocator_traits/members/destroy.cc
@@ -53,8 +53,6 @@ struct allocator_without_destroy
void test01()
{
- bool test __attribute__((unused)) = true;
-
typedef std::allocator_traits<allocator_with_destroy<X>> traits_type;
traits_type::allocator_type a;
X* p = 0;
@@ -65,8 +63,6 @@ void test01()
void test02()
{
- bool test __attribute__((unused)) = true;
-
typedef std::allocator_traits<allocator_without_destroy<X>> traits_type;
traits_type::allocator_type a;
char buf[sizeof(X)];