summaryrefslogtreecommitdiff
path: root/tls_test_dso.c
blob: e7f90b9ed88adcaacc09d838696c69cce39e627b (plain)
1
2
3
4
5
6
7
static __thread int foo;

int getTLSVar(void)
{
    foo = 0;
    return foo;
}