Sign in
gnu
/
binutils-gdb
/
master
/
.
/
gdb
/
testsuite
/
gdb.threads
/
tls-main.c
blob: 3cce5963c15b5f31d8a910291bf2a9177a78186d [
file
] [
log
] [
blame
]
int
foo
(
void
);
__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 */
}