repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gdb/symtab] Fix gdb.base/fission-macro.exp with unix/-m32
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.threads
/
tls-main.c
blob
56675e9cd45e3d3fa664bde4af0c859210a44f92
1
int
foo
(
void
);
2
__thread
int
i_tls
=
2
;
3
int
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