Debian Codegraph @

gcc/testsuite/gcc.dg/atomic/c23-stdatomic-var-init-1.c

raw
1 /* Test ATOMIC_VAR_INIT not in C23. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4
5 #include <stdatomic.h>
6
7 #ifdef ATOMIC_VAR_INIT
8 #error "ATOMIC_VAR_INIT defined"
9 #endif