diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 19:41:23 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-06 19:41:23 +0000 |
commit | fd02cabfd5efdde99707ad1abde81968786e45e7 (patch) | |
tree | f0b1d58035f0ca04dafa010bebee3120365ca699 /libstdc++-v3/testsuite/30_threads/thread | |
parent | a5f2d620b4340dd646e452e004d7bb996337edaf (diff) | |
download | gcc-fd02cabfd5efdde99707ad1abde81968786e45e7.tar.gz |
* include/std/thread: Add deleted thread(thread&).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162954 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/30_threads/thread')
-rw-r--r-- | libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc index db06e72b0f3..9d8681d471f 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc @@ -27,13 +27,7 @@ void test01() // copy typedef std::thread test_type; test_type t1; - test_type t2(t1); // { dg-error "deleted" "" { xfail *-*-* } } + test_type t2(t1); // { dg-error "deleted" } } -// This is failing for the wrong reason; it should fail because we're -// trying to call the deleted copy constructor, but instead it fails -// because we try to call the thread(_Callable&&,_Args&&...) constructor -// and fail because thread isn't callable. But that's OK for now. -// { dg-error "" "" { target *-*-* } 30 } - // { dg-prune-output "include" } |