Sign in
gnu
/
gcc
/
4a0fed0c0c7241562eaa5f1a4c916b689429ad86
/
.
/
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
;
}