has_atomic_flag_lockfree_test.cpp 378 B

12345678910111213
  1. // Copyright (c) 2013, Petr Machata, Red Hat Inc.
  2. //
  3. // Use modification and distribution are subject to the boost Software
  4. // License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
  5. #include "../../../boost/atomic.hpp"
  6. #include "../../../boost/static_assert.hpp"
  7. int main(int argc, char *argv[])
  8. {
  9. BOOST_STATIC_ASSERT(BOOST_ATOMIC_FLAG_LOCK_FREE);
  10. return 0;
  11. }