aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorChris Fairles <cfairles@gcc.gnu.org>2008-09-23 18:24:20 +0000
committerChris Fairles <cfairles@gcc.gnu.org>2008-09-23 18:24:20 +0000
commitb6a9bc4d4eae8717086d909f5010db3d6650a93f (patch)
treeecd39620c7f53906c2f39f86c223632cdbed7e47 /libstdc++-v3
parent47cd155763fa67da6f50821714de8b1cbebab8fb (diff)
downloadgcc-b6a9bc4d4eae8717086d909f5010db3d6650a93f.zip
gcc-b6a9bc4d4eae8717086d909f5010db3d6650a93f.tar.gz
gcc-b6a9bc4d4eae8717086d909f5010db3d6650a93f.tar.bz2
37547.cc: Return void to avoid warnings.
2008-09-23 Chris Fairles <cfairles@gcc.gnu.org> * 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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/max/37547.cc2
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/min/37547.cc2
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc2
4 files changed, 9 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 1646262..d916fc92 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -19,6 +19,12 @@
2008-09-23 Chris Fairles <cfairles@gcc.gnu.org>
+ * 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 <cfairles@gcc.gnu.org>
+
* include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
typedef monotonic_clock to system_clock and instead declare new class.
* src/chrono.cc: Conditionally define monotonic_clock::now().
diff --git a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc
index 233804c..0eca3d8 100644
--- a/libstdc++-v3/testsuite/25_algorithms/max/37547.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/max/37547.cc
@@ -23,7 +23,7 @@
#include <testsuite_hooks.h>
// 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 5d0ffd4..903cb36 100644
--- a/libstdc++-v3/testsuite/25_algorithms/min/37547.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/min/37547.cc
@@ -23,7 +23,7 @@
#include <testsuite_hooks.h>
// 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 21de390..d89205d 100644
--- a/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/minmax/37547.cc
@@ -23,7 +23,7 @@
#include <testsuite_hooks.h>
// libstdc++/37547
-int test01()
+void test01()
{
bool test __attribute__((unused)) = true;