projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add __tls_get_new regression test
[libc-test]
/
src
/
regression
/
tls_get_new-dtv_dso.c
1
__thread char v[123];
2
__thread int x = 42;
3
__thread long double y;
4
5
void *f()
6
{
7
int i;
8
for (i=0; i<sizeof v; i++)
9
v[i] = i%16;
10
return v;
11
}
12
void *g() {return &x;}
13
void *h() {return &y;}