blob: e7b28016b3b45097b8d763b3f80f173ade07f0d5 (
plain) (
tree)
|
|
#include <stdio.h>
static int __thread tbaz __attribute__ ((tls_model ("local-dynamic"))) = 42;
void
setter2 (int a)
{
tbaz = a;
}
int
baz (void)
{
printf ("&tbaz=%p\n", &tbaz);
return tbaz;
}
|