Debian Codegraph @

ld/testsuite/ld-elfvers/vers7a.c

raw
1 /*
2 * Test supplied by Ulrich. Verify that we can correctly force 'a'
3 * to local scope.
4 */
5 int
6 __a_internal (int e)
7 {
8 return e + 10;
9 }
10
11 int
12 __b_internal (int e)
13 {
14 return e + 42;
15 }
16
17 asm (".symver __a_internal,hide_a@@VERS_1");
18 asm (".symver __b_internal,show_b@@VERS_1");