projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
19990502 sourceware import
[deliverable/binutils-gdb.git]
/
binutils
/
testsuite
/
binutils-all
/
testprog.c
1
/* This program is used to test objcopy and strip. */
2
3
int
common
;
4
int
global
=
1
;
5
static int
local
=
2
;
6
static char
string
[] =
"string"
;
7
8
int
9
fn
()
10
{
11
return
3
;
12
}
13
14
int
15
main
()
16
{
17
if
(
common
!=
0
18
||
global
!=
1
19
||
local
!=
2
20
||
strcmp
(
string
,
"string"
) !=
0
)
21
{
22
printf
(
"failed
\n
"
);
23
exit
(
1
);
24
}
25
26
printf
(
"ok
\n
"
);
27
exit
(
0
);
28
}
This page took
0.031615 seconds
and
5
git commands to generate.