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
ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
pr19579a.c
blob
69d0f35898d8cc398fce90dfe8c83c641c5117e6
1
#include <stdio.h>
2
3
int
foo
[
1
];
4
int
bar
[
2
];
5
6
extern
int
*
foo_p
(
void
);
7
extern
int
*
bar_p
(
void
);
8
9
int
10
main
()
11
{
12
if
(
foo
[
0
] ==
0
&&
foo
==
foo_p
() &&
bar
[
0
] == -
1
&&
bar
==
bar_p
())
13
printf
(
"PASS
\n
"
);
14
return
0
;
15
}