summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-02 15:36:00 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-02 15:36:00 +0000
commit22817a6e9b8d45644e63ec7f9ed30bc5607b8572 (patch)
treea1e2bcf0dcb244f64e0306122fd07e315d580ae5 /libstdc++-v3
parentb6c27c1023b73cddc9b714d8fec6f5265d1d07a6 (diff)
downloadgcc-22817a6e9b8d45644e63ec7f9ed30bc5607b8572.tar.gz
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/43230 * testsuite/30_threads/promise/members/set_value3.cc (tester::~tester): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc11
2 files changed, 7 insertions, 10 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ec69d26a3a9..a87995c25e7 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ PR libstdc++/43230
+ * testsuite/30_threads/promise/members/set_value3.cc
+ (tester::~tester): Remove.
+
2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc
index b94b1b6eaa5..5dabff97df8 100644
--- a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc
+++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc
@@ -6,7 +6,7 @@
// { dg-require-gthreads "" }
// { dg-require-atomic-builtins "" }
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -23,7 +23,6 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-
#include <future>
#include <testsuite_hooks.h>
@@ -36,7 +35,6 @@ struct tester
tester(int);
tester(const tester&);
tester() = delete;
- ~tester();
tester& operator=(const tester&);
};
@@ -64,12 +62,6 @@ tester& tester::operator=(const tester&)
return *this;
}
-tester::~tester()
-{
- bool test __attribute__((unused)) = true;
- VERIFY (fglobal.wait_for(std::chrono::milliseconds(1)));
-}
-
void test01()
{
bool test __attribute__((unused)) = true;
@@ -82,6 +74,5 @@ void test01()
int main()
{
test01();
-
return 0;
}