aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr19784c.c
blob: eb2c9d0c2afb08b01a6527d43b203639829b131c (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")));

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