From b6a9bc4d4eae8717086d909f5010db3d6650a93f Mon Sep 17 00:00:00 2001 From: Chris Fairles Date: Tue, 23 Sep 2008 18:24:20 +0000 Subject: [PATCH] 37547.cc: Return void to avoid warnings. 2008-09-23 Chris Fairles * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings. * testsuite/25_algorithms/max/37547.cc: Likewise. * testsuite/25_algorithms/minmax/37547.cc: Likewise. From-SVN: r140608 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/25_algorithms/max/37547.cc | 2 +- libstdc++-v3/testsuite/25_algorithms/min/37547.cc | 2 +- libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 164626275c8..d916fc92a6c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -17,6 +17,12 @@ * testsuite/23_containers/bitset/cons/dr396.cc: Add. * testsuite/23_containers/bitset/to_string/dr396.cc: Likewise. +2008-09-23 Chris Fairles + + * testsuite/25_algorithms/min/37547.cc: Return void to avoid warnings. + * testsuite/25_algorithms/max/37547.cc: Likewise. + * testsuite/25_algorithms/minmax/37547.cc: Likewise. + 2008-09-23 Chris Fairles * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't diff --git a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc index 233804c4254..0eca3d8bf22 100644 --- a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc @@ -23,7 +23,7 @@ #include // libstdc++/37547 -int test01() +void test01() { bool test __attribute__((unused)) = true; diff --git a/libstdc++-v3/testsuite/25_algorithms/min/37547.cc b/libstdc++-v3/testsuite/25_algorithms/min/37547.cc index 5d0ffd47649..903cb361c9f 100644 --- a/libstdc++-v3/testsuite/25_algorithms/min/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/min/37547.cc @@ -23,7 +23,7 @@ #include // libstdc++/37547 -int test01() +void test01() { bool test __attribute__((unused)) = true; diff --git a/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc b/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc index 21de3907b3e..d89205d238c 100644 --- a/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc +++ b/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc @@ -23,7 +23,7 @@ #include // libstdc++/37547 -int test01() +void test01() { bool test __attribute__((unused)) = true;