projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: Properly handle PLT expression in directive
[external/binutils.git]
/
ld
/
testsuite
/
ld-x86-64
/
pr23997b.c
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
}