Retro68/binutils/ld/testsuite/ld-elfvers/vers2.c

14 lines
219 B
C
Raw Normal View History

2012-03-26 19:18:29 +00:00
/*
* Test function. This is built into a shared library, and references a
* versioned symbol foo that is in test.so.
*/
#include <stdio.h>
extern int show_foo ();
void
show_xyzzy()
{
printf("%d", show_foo());
}