Sign in
gnu
/
binutils-gdb
/
2615994e91176ae1a147439f81c452e5f5965920
/
.
/
gdb
/
testsuite
/
gdb.threads
/
tls-main.c
blob: eec5d50bcf49753bcee8c1862546e5237b02d82b [
file
] [
log
] [
blame
]
__thread
int
i_tls
=
2
;
int
main
()
{
int
result
;
result
=
foo
();
/* Call to foo should return 2, not 1. */
result
++;
return
0
;
/* break here to check result */
}