☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
atomic
/
c23-stdatomic-var-init-1.c
☽
☼
gcc/testsuite/gcc.dg/atomic/c23-stdatomic-var-init-1.c
code
plain
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