Debian Codegraph @

gcc/testsuite/gcc.dg/c11-attr-syntax-2.c

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" } */