summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod13.c
blob: 76da630a05e408680fb76acc5a5a9b95c542aa0e (plain)
1
2
3
4
5
6
7
8
9
#include <tls.h>

__thread int a[2] __attribute__ ((tls_model ("initial-exec")));

int
foo (void)
{
  return a[0];
}