(root)/
binutils-2.41/
ld/
testsuite/
ld-x86-64/
pr22842a.c
       1  #include <stdio.h>
       2  #include <stdlib.h>
       3  
       4  void
       5  test (void)
       6  {
       7    static int count;
       8    if (count)
       9      printf("PASS\n");
      10    count++;
      11  }
      12  
      13  void
      14  foo (void (*bar) (void))
      15  {
      16    if (bar != test)
      17      abort ();
      18    bar ();
      19    test ();
      20  }