Sign in
fuchsia
/
third_party
/
binutils-gdb
/
refs/heads/upstream/users/wtedesch/icc_version
/
.
/
ld
/
testsuite
/
ld-x86-64
/
tlsdesc1a.c
blob: 7d2f4f634c8388a2bd4ec72a68afa838e8fa6733 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdlib.h>
#include
<stdio.h>
extern
int
foo
(
void
);
extern
__thread
int
yyy
;
__thread
int
zzz
=
20
;
int
main
(
void
)
{
if
(
foo
()
!=
zzz
)
abort
();
if
(
yyy
!=
100
)
abort
();
printf
(
"PASS\n"
);
return
0
;
}