repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ld-elf/header.d: Allow arbitrary lines between "Program Header"
[binutils.git]
/
ld
/
testsuite
/
ld-elf
/
dl2main.c
blob
ddf677fd3bcfd21ec776c0b92a0163e80a4a0fe4
1
#include <stdio.h>
2
3
extern
int
foo
;
4
extern
void
bar
(
void
);
5
6
void
7
xxx
(
void
)
8
{
9
printf
(
"MAIN
\n
"
);
10
}
11
12
int
13
main
(
void
)
14
{
15
foo
=
1
;
16
bar
();
17
if
(
foo
== -
1
)
18
printf
(
"OK1
\n
"
);
19
else if
(
foo
==
1
)
20
printf
(
"OK2
\n
"
);
21
return
0
;
22
}