binutils-gdb/ld/testsuite/ld-x86-64/pr19784c.c

12 lines
176 B
C

#include <stdio.h>
extern void abort (void);
extern int foo (int) __attribute__ ((visibility("hidden")));
int bar()
{
if (foo (5) != 5)
abort ();
printf("PASS\n");
}