mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 11:32:12 +00:00
merged from trunk
[SVN r45230]
This commit is contained in:
15
test/no_implicit_assign_from_lvalue_thread.cpp
Normal file
15
test/no_implicit_assign_from_lvalue_thread.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (C) 2008 Anthony Williams
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/thread/thread.hpp>
|
||||
|
||||
void do_nothing()
|
||||
{}
|
||||
|
||||
void test()
|
||||
{
|
||||
boost::thread t1(do_nothing);
|
||||
boost::thread t2;
|
||||
t2=t1;
|
||||
}
|
||||
Reference in New Issue
Block a user