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