1 /* Test stdatomic.h header contents. Test that ATOMIC_*_LOCK_FREE
2 macros can be used in an #if directive (DR#458). */
3 /* { dg-do preprocess } */
4 /* { dg-options "-std=c11 -pedantic-errors" } */
8 #if ATOMIC_BOOL_LOCK_FREE
10 #if ATOMIC_CHAR_LOCK_FREE
12 #if ATOMIC_CHAR16_T_LOCK_FREE
14 #if ATOMIC_CHAR32_T_LOCK_FREE
16 #if ATOMIC_WCHAR_T_LOCK_FREE
18 #if ATOMIC_SHORT_LOCK_FREE
20 #if ATOMIC_INT_LOCK_FREE
22 #if ATOMIC_LONG_LOCK_FREE
24 #if ATOMIC_LLONG_LOCK_FREE
26 #if ATOMIC_POINTER_LOCK_FREE