Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elfvers/vers2.c
2023-03-06 14:48:14 +01:00

13 lines
219 B
C

/*
* 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());
}