Service_NSSM/CC_SDK/Environment/opencv/cmake/checks/atomic_check.cpp

13 lines
120 B
C++
Raw Normal View History

2025-09-27 14:24:18 +08:00
#include <atomic>
static int test()
{
std::atomic<long long> x;
return x;
}
int main()
{
return test();
}