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-x86-64
/
pr23997b.c
blob
02cb8f8f7f7e28e85cf3504a4c66c78a767f0a92
1
#include <stdio.h>
2
3
typedef
void
(*
func_t
) (
void
);
4
5
extern
func_t
get_foo
(
void
);
6
7
void
8
foo
(
void
)
9
{
10
}
11
12
int
13
main
()
14
{
15
func_t p
;
16
17
foo
();
18
p
=
get_foo
();
19
p
();
20
21
if
(
foo
==
p
)
22
printf
(
"PASS
\n
"
);
23
24
return
0
;
25
}