]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/smart_ptr/test/yield_k_test.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / smart_ptr / test / yield_k_test.cpp
CommitLineData
7c673cae
FG
1//
2// yield_k_test.cpp
3//
4// Copyright 2008 Peter Dimov
5//
6// Distributed under the Boost Software License, Version 1.0.
7// See accompanying file LICENSE_1_0.txt or copy at
8// http://www.boost.org/LICENSE_1_0.txt)
9//
10
11#include <boost/smart_ptr/detail/yield_k.hpp>
12
13// Sanity check only
14
15int main()
16{
17 for( unsigned k = 0; k < 256; ++k )
18 {
19 boost::detail::yield( k );
20 }
21
22 return 0;
23}