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
ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-x86-64
/
tlsdesc1a.c
blob
7d2f4f634c8388a2bd4ec72a68afa838e8fa6733
1
#include <stdlib.h>
2
#include <stdio.h>
3
4
extern
int
foo
(
void
);
5
6
extern
__thread
int
yyy
;
7
8
__thread
int
zzz
=
20
;
9
10
int
11
main
(
void
)
12
{
13
if
(
foo
() !=
zzz
)
14
abort
();
15
if
(
yyy
!=
100
)
16
abort
();
17
printf
(
"PASS
\n
"
);
18
return
0
;
19
}