]>
Commit | Line | Data |
---|---|---|
d2f8208e JW |
1 | // { dg-do preprocess { target c++23 } } |
2 | ||
7cc9022f AA |
3 | // <stdatomic.h> is not freestanding. |
4 | // { dg-require-effective-target hosted } | |
5 | ||
d2f8208e JW |
6 | #include <version> |
7 | ||
8 | #ifndef __cpp_lib_stdatomic_h | |
9 | # error "Feature test macro for stdatomic.h is missing in <version>" | |
10 | #elif __cpp_lib_stdatomic_h != 202011L | |
11 | # error "Feature test macro for stdatomic.h has wrong value in <version>" | |
12 | #endif |