summaryrefslogtreecommitdiff
path: root/libs/thread/build/has_atomic_flag_lockfree_test.cpp
blob: ca6940546b9d52260a6a12fcbedbe0ec30a2d1a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2013, Petr Machata, Red Hat Inc.
//
// Use modification and distribution are subject to the boost Software
// License, Version 1.0.  (See http://www.boost.org/LICENSE_1_0.txt).

#include "../../../boost/atomic.hpp"
#include "../../../boost/static_assert.hpp"

int main(int argc, char *argv[])
{
  BOOST_STATIC_ASSERT(BOOST_ATOMIC_FLAG_LOCK_FREE);
  return 0;
}