Blame src/regression/tls_get_new-dtv_dso.c
|
Szabolcs Nagy |
79af0f |
__thread char v[123];
|
|
Szabolcs Nagy |
79af0f |
__thread int x = 42;
|
|
Szabolcs Nagy |
79af0f |
__thread long double y;
|
|
Szabolcs Nagy |
79af0f |
|
|
Szabolcs Nagy |
79af0f |
void *f()
|
|
Szabolcs Nagy |
79af0f |
{
|
|
Szabolcs Nagy |
79af0f |
int i;
|
|
Szabolcs Nagy |
79af0f |
for (i=0; i
|
|
Szabolcs Nagy |
79af0f |
v[i] = i%16;
|
|
Szabolcs Nagy |
79af0f |
return v;
|
|
Szabolcs Nagy |
79af0f |
}
|
|
Szabolcs Nagy |
79af0f |
void *g() {return &x;}
|
|
Szabolcs Nagy |
79af0f |
void *h() {return &y;}
|