(root)/
gcc-13.2.0/
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" } } */