summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc')
-rw-r--r--libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc b/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
index 75b604c80c2..f105f9b91a5 100644
--- a/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
+++ b/libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
@@ -28,7 +28,7 @@
// libstdc++/86: map & set iterator comparisons are not type-safe
void test01()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
std::map<unsigned int, int> mapByIndex;
std::map<std::string, unsigned> mapByName;