4 __thread
long long dummy
__attribute__((visibility ("hidden"))) = 12;
5 __thread
struct A a2
= { 22, 23, 24 };
6 __thread
struct A a4
__attribute__((tls_model("initial-exec")))
8 static __thread
struct A local1
= { 28, 29, 30 };
9 static __thread
struct A local2
__attribute__((tls_model("initial-exec")))
15 if (a2
.a
!= 22 || a2
.b
!= 23 || a2
.c
!= 24)
17 if (a4
.a
!= 25 || a4
.b
!= 26 || a4
.c
!= 27)
19 if (local1
.a
!= 28 || local1
.b
!= 29 || local1
.c
!= 30)
21 if (local2
.a
!= 31 || local2
.b
!= 32 || local2
.c
!= 33)