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

#include <stdlib.h>

int global = -1;

extern int foo1 (void);

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