| 1 |
// { dg-do link { target c++11 } } |
| 2 |
// { dg-require-effective-target tls_link } |
| 3 |
// { dg-add-options tls } |
| 4 |
// { dg-additional-sources pr77285-2.C } |
| 5 |
|
| 6 |
struct __attribute__((abi_tag("tag"))) X { ~X () {} int i = 0; }; |
| 7 |
thread_local X var1; |
| 8 |
X var2; |