☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c11-attr-syntax-1.c
☽
☼
gcc/testsuite/gcc.dg/c11-attr-syntax-1.c
code
plain
raw
1
/* Test C23 attribute syntax: rejected in C11. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c11 -pedantic-errors" } */
4
5
[[]]; /* { dg-error "attributes before C23" } */
6
7
void f [[]] (void); /* { dg-error "attributes before C23" } */