Commit 38f86aba by Jonathan Wakely Committed by Paolo Carlini

re PR libstdc++/43230 (Revision 157158 failed 30_threads/promise/members/set_value3.cc)

2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>

	PR libstdc++/43230
	* testsuite/30_threads/promise/members/set_value3.cc
	(tester::~tester): Remove.

From-SVN: r157166
parent ec7058d6
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> 2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (_Base_bitset<>::_M_getdata()): Add. * include/std/bitset (_Base_bitset<>::_M_getdata()): Add.
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// { dg-require-gthreads "" } // { dg-require-gthreads "" }
// { dg-require-atomic-builtins "" } // { 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 // 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 // software; you can redistribute it and/or modify it under the
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
// with this library; see the file COPYING3. If not see // with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
#include <future> #include <future>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
...@@ -36,7 +35,6 @@ struct tester ...@@ -36,7 +35,6 @@ struct tester
tester(int); tester(int);
tester(const tester&); tester(const tester&);
tester() = delete; tester() = delete;
~tester();
tester& operator=(const tester&); tester& operator=(const tester&);
}; };
...@@ -64,12 +62,6 @@ tester& tester::operator=(const tester&) ...@@ -64,12 +62,6 @@ tester& tester::operator=(const tester&)
return *this; return *this;
} }
tester::~tester()
{
bool test __attribute__((unused)) = true;
VERIFY (fglobal.wait_for(std::chrono::milliseconds(1)));
}
void test01() void test01()
{ {
bool test __attribute__((unused)) = true; bool test __attribute__((unused)) = true;
...@@ -82,6 +74,5 @@ void test01() ...@@ -82,6 +74,5 @@ void test01()
int main() int main()
{ {
test01(); test01();
return 0; return 0;
} }
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