[gdb/symtab] Fix gdb.base/fission-macro.exp with unix/-m32
[binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-main.c
blob56675e9cd45e3d3fa664bde4af0c859210a44f92
1 int foo (void);
2 __thread int i_tls = 2;
3 int main ()
5 int result;
6 result = foo (); /* Call to foo should return 2, not 1. */
7 result ++;
8 return 0; /* break here to check result */