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