summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/ext/hash_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/ext/hash_map.cc')
-rw-r--r--libstdc++-v3/testsuite/ext/hash_map.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/ext/hash_map.cc b/libstdc++-v3/testsuite/ext/hash_map.cc
index 55b740f3ee8..9911968c027 100644
--- a/libstdc++-v3/testsuite/ext/hash_map.cc
+++ b/libstdc++-v3/testsuite/ext/hash_map.cc
@@ -68,7 +68,7 @@ const int Size = 5;
void test01()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
for (int i = 0; i < 10; i++)
{
OpenPOWER on IntegriCloud