Commit b6a9bc4d by Chris Fairles

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
parent 47cd1557
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
2008-09-23 Chris Fairles <cfairles@gcc.gnu.org> 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 * include/std/chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined, don't
typedef monotonic_clock to system_clock and instead declare new class. typedef monotonic_clock to system_clock and instead declare new class.
* src/chrono.cc: Conditionally define monotonic_clock::now(). * src/chrono.cc: Conditionally define monotonic_clock::now().
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// libstdc++/37547 // libstdc++/37547
int test01() void test01()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// libstdc++/37547 // libstdc++/37547
int test01() void test01()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// libstdc++/37547 // libstdc++/37547
int test01() void test01()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment