OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-15 Eric Christopher <echristo@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
lazy-ptr-test.c
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" } } */