atomic_check.cpp 120 B

123456789101112
  1. #include <atomic>
  2. static int test()
  3. {
  4. std::atomic<long long> x;
  5. return x;
  6. }
  7. int main()
  8. {
  9. return test();
  10. }