Retro68/binutils/ld/testsuite/ld-x86-64/protected-func-2c.c

30 lines
430 B
C
Raw Normal View History

2022-10-27 18:45:45 +00:00
#include "protected-func-1.h"
protected_func_type protected_func_1a_ptr = protected_func_1a;
__attribute__ ((visibility("protected")))
int
protected_func_1a (void)
{
return 1;
}
__attribute__ ((visibility("protected")))
int
protected_func_1b (void)
{
return 2;
}
protected_func_type
protected_func_1a_p (void)
{
return protected_func_1a;
}
protected_func_type
protected_func_1b_p (void)
{
return protected_func_1b;
}