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

extern void foo (void);
void (*f) (void) = &foo;

extern void bar (void);

void
bar (void)
{
  f ();
}