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