repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
lazy-ptr-test.c
blob
da66b518ff0555c7234989e63d36aeeb0c5e1e11
1
/* { dg-do compile { target powerpc*-apple-darwin* } } */
2
/* { dg-options "-S" } */
3
4
void
f
()
__attribute__
((
weak_import
));
5
6
typedef
void
PF
(
void
);
7
8
void
f
(
void
){};
9
10
PF
*
g
(
void
) {
return
f
; }
11
12
int
main
()
13
{
14
(*
g
())();
15
return
0
;
16
}
17
18
/* { dg-final { scan-assembler "non_lazy_ptr" } } */