1/* { dg-do compile { target powerpc*-apple-darwin* } } */ 2/* { dg-options "-S" } */ 3 4typedef void PF (void); 5 6static void f(void) { 7} 8 9void f1(void) { 10} 11 12extern void f2(void) { 13} 14 15static void f3(void); 16 17void pe(void) 18{ 19} 20 21PF* g (void) { f(); return f; } 22PF* x (void) { return f1; } 23PF* y (void) { f2(); return f2; } 24PF* z (void) { return f3; } 25PF* w (void) { pe(); return pe; } 26 27int main() 28{ 29 (*g())(); 30 (*x())(); 31 (*y())(); 32 (*z())(); 33 (*w())(); 34 return 0; 35} 36 37void f3(void) { 38} 39 40/* { dg-final { scan-assembler-not "non_lazy_ptr" } } */ 41