Sign in
llvm
/
llvm-archive
/
3698204cb8af2c80b326ae84c9a9e6a4bccbdedc
/
.
/
llvm-gcc-4.2
/
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
;
}