]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/cmake/test/atomic/main.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / cmake / test / atomic / main.cpp
1 // Copyright 2019 Peter Dimov
2 // Distributed under the Boost Software License, Version 1.0.
3 // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
5 #include <boost/atomic.hpp>
6
7 struct X
8 {
9 double v[ 8 ];
10 };
11
12 int main()
13 {
14 boost::atomic<X> a;
15 a.store( X() );
16 }