summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/pr77285-1.C
blob: 7a9341429d7059f5c26df0fa14511999d536b6af (plain)
1
2
3
4
5
6
7
8
// { dg-do link { target c++11 } }
// { dg-require-effective-target tls }
// { dg-add-options tls }
// { dg-additional-sources pr77285-2.C }

struct __attribute__((abi_tag("tag"))) X { ~X () {} int i = 0; };
thread_local X var1;
X var2;