2003-07-22 Elena Zannoni <ezannoni@redhat.com>
[external/binutils.git] / gdb / testsuite / gdb.threads / tls-main.c
1 __thread int i_tls = 2;
2 int main ()
3 {
4   int result;
5   result = foo (); /* Call to foo should return 2, not 1.  */
6   result ++;
7   return 0; /* break here to check result */
8 }
9