]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/thread/test/no_implicit_move_from_lvalue_thread.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / thread / test / no_implicit_move_from_lvalue_thread.cpp
CommitLineData
7c673cae
FG
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
7void do_nothing()
8{}
9
10void test()
11{
12 boost::thread t1(do_nothing);
13 boost::thread t2(t1);
14}
15
16#include "./remove_error_code_unused_warning.hpp"