repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
tls
/
thread_local7.C
blob
3cb02dd51fcc844f6942f02c34d79d750f914053
1
// { dg-do compile { target c++11 } }
2
// { dg-require-effective-target tls }
3
4
// The reference temp should be TLS, not normal data.
5
// { dg-final { scan-assembler-not "\\.data" { target tls_native } } }
6
7
void f()
8
{
9
thread_local int&& ir = 42;
10
}