Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c11-attr-syntax-2.c
blob: b7860827512b41c1b50ab3ca2c756832065c2780 [
file
] [
log
] [
blame
]
/* Test C23 attribute syntax: rejected in C11. */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic" } */
[[]];
/* { dg-warning "attributes before C23" } */
void
f
[[]]
(
void
);
/* { dg-warning "attributes before C23" } */