summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/lower_bound.cc')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/lower_bound.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc b/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
index a3a23050165..6afb28fffbc 100644
--- a/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/lower_bound.cc
@@ -28,5 +28,5 @@ bool operator< (const foo&, const foo&) { return true; };
void bar(foo* a, foo* b, foo& x)
{
- foo* c = std::lower_bound(a, b, x);
+ foo* c __attribute__((unused)) = std::lower_bound(a, b, x);
}
OpenPOWER on IntegriCloud