]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/thread/test/no_implicit_assign_from_lvalue_thread.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / thread / test / no_implicit_assign_from_lvalue_thread.cpp
1 // Copyright (C) 2008 Anthony Williams
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 #include <boost/thread/thread.hpp>
6
7 void do_nothing()
8 {}
9
10 void test()
11 {
12 boost::thread t1(do_nothing);
13 boost::thread t2;
14 t2=t1;
15 }
16
17 #include "./remove_error_code_unused_warning.hpp"