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
/
c23-thread-local-1.c
blob
8b48313853f06e05e1843fd2bec25334fa703171
1
/* Test C23 thread_local keyword. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c23 -pedantic-errors" } */
4
5
thread_local
int
a
;
6
thread_local
void
f
(
void
);
/* { dg-error "storage class" } */