Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
diag-1.c
blob: 56b570c94a5c74803232ad254ba9e661fe429a34 [
file
] [
log
] [
blame
]
/* Valid __thread specifiers. */
/* { dg-require-effective-target tls } */
__thread
int
g1
;
extern
__thread
int
g2
;
static
__thread
int
g3
;
void
foo
()
{
extern
__thread
int
l1
;
static
__thread
int
l2
;
}