Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
obj-c++.dg
/
tls
/
diag-1.mm
blob: 7c3245d9f91c097123591d8a5c99bc8d06c34d14 [
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
;
}