blob: 98d8453ad18e5258c723b86ae56e5c54f7d299cf [file] [log] [blame]
// Copyright (c) 2018 Mike Dev
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <boost/atomic.hpp>
struct Dummy
{
int x[128];
};
int main()
{
Dummy d = {};
boost::atomic<Dummy> ad;
// this operation requires functions from
// the compiled part of Boost.Atomic
ad = d;
}