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
This commit is contained in:
Jonathan Wakely 2010-03-02 15:36:00 +00:00 committed by Paolo Carlini
parent ec7058d64d
commit 38f86abadf
2 changed files with 7 additions and 10 deletions

View File

@ -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.

View File

@ -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;
}