[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / tls / static2.C
blobab688dd8dc40526ab5eb84b5fb62a75475980409
1 // { dg-final { scan-assembler-not "_ZTHN1A1iE" } }
2 // { dg-final { scan-assembler-not "_ZTWN1A1iE" } }
3 // { dg-require-effective-target tls }
5 struct A
7   static __thread int i;
8 };
10 int
11 test ()
13   if (A::i != 8)
14     return 1;
16   A::i = 17;
17   return 0;