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
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
tls-wrap1.C
blob
91c9f8631257946c7167bdee9b2730c8ddbb6374
1
// If we can see the definition at the use site, we don't need to bother
2
// with a wrapper.
3
4
// { dg-require-effective-target tls }
5
// { dg-final { scan-assembler-not "_ZTW1i" } }
6
7
int i = 42;
8
#pragma omp threadprivate (i)
9
10
int main()
11
{
12
return i - 42;
13
}