repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c11-attr-syntax-1.c
blob
24bbf681764c6e2bc9b35cb7883bf465f942db0b
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" } */