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

12 lines
181 B
C
Raw Normal View History

2017-04-10 11:32:00 +00:00
#include <stdio.h>
extern void abort (void);
extern int foo (int) __attribute__ ((visibility("hidden")));
2018-12-28 15:25:28 +00:00
void bar(void)
2017-04-10 11:32:00 +00:00
{
if (foo (5) != 5)
abort ();
printf("PASS\n");
}