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
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
gold
/
testsuite
/
pr20216_main.c
blob
3d697878fb3647a739eee2c380df10d524076ebd
1
#include <stdlib.h>
2
3
extern
int
*
get_gd
(
void
);
4
extern
void
set_gd
(
int
);
5
extern
int
test_gd
(
int
);
6
extern
int
*
get_ld
(
void
);
7
extern
void
set_ld
(
int
);
8
extern
int
test_ld
(
int
);
9
10
int
11
main
()
12
{
13
int
*
p
;
14
15
p
=
get_gd
();
16
set_gd
(
3
);
17
if
(*
p
!=
3
|| !
test_gd
(
3
))
18
abort
();
19
20
p
=
get_ld
();
21
set_ld
(
4
);
22
if
(*
p
!=
4
|| !
test_ld
(
4
))
23
abort
();
24
25
return
0
;
26
}