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
/
tls
/
static2.C
blob
ab688dd8dc40526ab5eb84b5fb62a75475980409
1
// { dg-final { scan-assembler-not "_ZTHN1A1iE" } }
2
// { dg-final { scan-assembler-not "_ZTWN1A1iE" } }
3
// { dg-require-effective-target tls }
4
5
struct A
6
{
7
static __thread int i;
8
};
9
10
int
11
test ()
12
{
13
if (A::i != 8)
14
return 1;
15
16
A::i = 17;
17
return 0;
18
}