aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/ifuncvar3.c
blob: e078b567e2e46b190ab382e6694aac5d46ce16ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test global variable initialized to hidden STT_GNU_IFUNC symbol.  */

#include <assert.h>

extern void bar (void);
extern int didit;

int
main (void)
{
  bar ();
  assert (didit == 1);
  return 0;
}