summaryrefslogtreecommitdiff
path: root/elf/ifuncmain2.c
blob: db3ba56a02df300466e8f44d27db3dceded5e457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test calling one STT_GNU_IFUNC function with 3 different
   STT_GNU_IFUNC definitions.  */

#include <stdlib.h>

extern int foo1 (void);

int
main (void)
{
  if (foo1 () != -1)
    abort ();
  return 0;
}