blob: 5feb08936d8315a1f3f40e3ddcd7795e90dbb15b [file] [log] [blame]
// { dg-do preprocess { target c++23 } }
// { dg-add-options no_pch }
// <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