Retro68/binutils/gold/testsuite/exclude_libs_test_1.c

33 lines
490 B
C
Raw Normal View History

2012-03-26 19:18:29 +00:00
void lib1_default (void);
void lib1_hidden (void);
void lib1_internal (void);
void lib1_protected (void);
void lib1_ref (void);
extern void lib2_default (void);
2012-03-26 19:18:29 +00:00
void __attribute__((visibility ("default")))
lib1_default (void)
{
}
void __attribute__((visibility ("hidden")))
lib1_hidden (void)
{
}
void __attribute__((visibility ("internal")))
lib1_internal (void)
{
}
void __attribute__((visibility ("protected")))
lib1_protected (void)
{
}
void
lib1_ref (void)
{
lib2_default ();
}