PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / lazy-ptr-test.c
blobda66b518ff0555c7234989e63d36aeeb0c5e1e11
1 /* { dg-do compile { target powerpc*-apple-darwin* } } */
2 /* { dg-options "-S" } */
4 void f () __attribute__((weak_import));
6 typedef void PF (void);
8 void f(void){};
10 PF* g (void) { return f; }
12 int main()
14 (*g())();
15 return 0;
18 /* { dg-final { scan-assembler "non_lazy_ptr" } } */