summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/25_algorithms/min_max.cc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 20:03:30 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 20:03:30 +0000
commitf8ef786cfd35341f4c3d1742375e22f829a0876f (patch)
tree743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/25_algorithms/min_max.cc
parent33020648811e6f8f2313712ecb0e7ba99e2653b7 (diff)
downloadppe42-gcc-f8ef786cfd35341f4c3d1742375e22f829a0876f.tar.gz
ppe42-gcc-f8ef786cfd35341f4c3d1742375e22f829a0876f.zip
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/min_max.cc')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/min_max.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/min_max.cc b/libstdc++-v3/testsuite/25_algorithms/min_max.cc
index ef8acfd249f..bd07009c015 100644
--- a/libstdc++-v3/testsuite/25_algorithms/min_max.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/min_max.cc
@@ -24,7 +24,7 @@
void test01()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
const int& x = std::max(1, 2);
const int& y = std::max(4, 3);
@@ -74,7 +74,7 @@ template int A<long double>::a;
void test02()
{
- bool test = true;
+ bool test __attribute__((unused)) = true;
VERIFY( 2 == std::min(A<int>::a, 2) );
VERIFY( 3 == std::min(A<int>::a, 4) );
OpenPOWER on IntegriCloud