Make "set scheduler-locking step" depend on user intention, only
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-main.c
CommitLineData
37bc665e 1int foo (void);
8bc2021f
EZ
2__thread int i_tls = 2;
3int main ()
4{
5 int result;
6 result = foo (); /* Call to foo should return 2, not 1. */
7 result ++;
8 return 0; /* break here to check result */
9}
10
This page took 1.212345 seconds and 4 git commands to generate.