aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/pr23169a.c
blob: 02bf2208904c662549aa6501880501a56fac1408 (plain)
1
2
3
4
5
6
7
8
9
int (*func_p) (void);
extern int func (void);

void
foo (void)
{
  if (func_p != &func || func_p () != 0xbadbeef)
    __builtin_abort ();
}