Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c23-thread-local-1.c
blob: 8b48313853f06e05e1843fd2bec25334fa703171 [
file
] [
log
] [
blame
]
/* Test C23 thread_local keyword. */
/* { dg-do compile } */
/* { dg-options "-std=c23 -pedantic-errors" } */
thread_local
int
a
;
thread_local
void
f
(
void
);
/* { dg-error "storage class" } */