(root)/
gcc-13.2.0/
libstdc++-v3/
testsuite/
29_atomics/
headers/
stdatomic.h/
version.cc
// { dg-options "-std=gnu++23" }
// { dg-do preprocess { target c++23 } }

// <stdatomic.h> is not freestanding.
// { dg-require-effective-target hosted }

#include <version>

#ifndef __cpp_lib_stdatomic_h
# error "Feature test macro for stdatomic.h is missing in <version>"
#elif __cpp_lib_stdatomic_h != 202011L
# error "Feature test macro for stdatomic.h has wrong value in <version>"
#endif