Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elfvers/vers7a.c

21 lines
293 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
/*
* Test supplied by Ulrich. Verify that we can correctly force 'a'
* to local scope.
*/
#include "vers.h"
int
__a_internal (int e)
{
return e + 10;
}
int
__b_internal (int e)
{
return e + 42;
}
FUNC_SYMVER(__a_internal, hide_a@@VERS_1);
FUNC_SYMVER(__b_internal, show_b@@VERS_1);