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

21 lines
283 B
C
Raw Normal View History

2012-03-26 19:18:29 +00:00
/*
* Test supplied by Ulrich. Verify that we can correctly force 'a'
* to local scope.
*/
#include "vers.h"
2012-03-26 19:18:29 +00:00
int
__a_internal (int e)
{
return e + 10;
}
int
__b_internal (int e)
{
return e + 42;
}
SYMVER(__a_internal, hide_a@@VERS_1);
SYMVER(__b_internal, show_b@@VERS_1);