aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19784c.c
blob: 117dfec12028448cd6189569d6d9b6eaf57cbb3b (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

extern void abort (void);
extern int foo (int) __attribute__ ((visibility("hidden")));

int bar()
{
  if (foo (5) != 5)
    abort ();
  printf("PASS\n");
}