OpenCV_4.2.0/opencv-4.2.0/cmake/checks/atomic_check.cpp

13 lines
120 B
C++
Raw Normal View History

2024-07-25 16:47:56 +08:00
#include <atomic>
static int test()
{
std::atomic<long long> x;
return x;
}
int main()
{
return test();
}