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