mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 10:22:41 +08:00
10 lines
117 B
C
10 lines
117 B
C
|
#include <tls.h>
|
||
|
|
||
|
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
|
||
|
|
||
|
int
|
||
|
foo (void)
|
||
|
{
|
||
|
return a[0];
|
||
|
}
|