mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 21:41:14 +08:00
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:
parent
ec7058d64d
commit
38f86abadf
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user