diff options
Diffstat (limited to 'ld/testsuite/ld-elfvsb/sh2.c')
-rw-r--r-- | ld/testsuite/ld-elfvsb/sh2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvsb/sh2.c b/ld/testsuite/ld-elfvsb/sh2.c index 013a4e0..6ed30bc 100644 --- a/ld/testsuite/ld-elfvsb/sh2.c +++ b/ld/testsuite/ld-elfvsb/sh2.c @@ -12,3 +12,13 @@ shlib_shlibcalled () { return 5; } + +#ifdef DSO_DEFINE_TEST +int +visibility () +{ + return 2; +} + +int visibility_var = 2; +#endif |