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
[gdb/testsuite] Fix DUPLICATE in gdb.arch/pr25124.exp
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-plugin
/
pr22502a.c
blob
0eaa1affd869456b9922ff3764a7c2fe19b5cc97
1
#include <stdio.h>
2
3
volatile
int
x
;
4
extern
void
abort
();
5
6
__attribute__
((
weak
))
7
void
foobar
(
void
) {
x
++; }
8
9
int
main
(
void
)
10
{
11
foobar
();
12
if
(
x
!= -
1
)
13
abort
();
14
printf
(
"PASS
\n
"
);
15
return
0
;
16
}