opencv/cmake/checks/atomic_check.cpp

13 lines
120 B
C++
Raw Normal View History

2019-08-20 21:19:37 +08:00
#include <atomic>
static int test()
{
std::atomic<long long> x;
2019-08-20 21:19:37 +08:00
return x;
}
int main()
{
return test();
}