gdb: restore nullptr check in compunit_symtab::find_call_site
[binutils-gdb.git] / ld / testsuite / ld-elfvers / vers7a.c
blob8fcad79f679031e34b8d73fa15225b178a8b1380
1 /*
2 * Test supplied by Ulrich. Verify that we can correctly force 'a'
3 * to local scope.
4 */
5 #include "vers.h"
7 int
8 __a_internal (int e)
10 return e + 10;
13 int
14 __b_internal (int e)
16 return e + 42;
19 FUNC_SYMVER(__a_internal, hide_a@@VERS_1);
20 FUNC_SYMVER(__b_internal, show_b@@VERS_1);