repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
tls
/
diag-1.mm
blob
7c3245d9f91c097123591d8a5c99bc8d06c34d14
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
}