]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/c11-attr-syntax-3.c
testsuite: Refer more consistently to C23 not C2X
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c11-attr-syntax-3.c
CommitLineData
54bac0ce
JM
1/* Test C23 attribute syntax: rejected in C11, but warning disabled
2 with -Wno-c11-c23-compat. */
092508a0 3/* { dg-do compile } */
54bac0ce 4/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
092508a0
JM
5
6[[]];
7
8void f [[]] (void);