summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc')
-rw-r--r--libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc
index 07beef43439..cfbe09ce5d4 100644
--- a/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc
+++ b/libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc
@@ -56,7 +56,6 @@ operator!=(const propagating_allocator<std::pair<const T, T>, false>&,
void test01()
{
- bool test __attribute__((unused)) = true;
typedef propagating_allocator<std::pair<const T, T>, false> alloc_type;
typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
test_type v1(alloc_type(1));
@@ -74,7 +73,6 @@ void test01()
void test02()
{
- bool test __attribute__((unused)) = true;
typedef propagating_allocator<std::pair<const T, T>, true> alloc_type;
typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
test_type v1(alloc_type(1));