OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
In gcc/testsuite/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
tls
/
diag-1.mm
1
// Valid __thread specifiers.
2
// { dg-require-effective-target tls }
3
4
__thread int g1;
5
extern __thread int g2;
6
static __thread int g3;
7
8
void foo()
9
{
10
extern __thread int l1;
11
static __thread int l2;
12
}