summaryrefslogtreecommitdiffstats
path: root/gold/testsuite/exclude_libs_test_2.c
blob: a8952e7a6b3391ae0f1ddad67dc347a78062225a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
void lib2_default (void);
void lib2_hidden (void);
void lib2_internal (void);
void lib2_protected (void);

void __attribute__((visibility ("default")))
lib2_default (void)
{
}

void __attribute__((visibility ("hidden")))
lib2_hidden (void)
{
}

void __attribute__((visibility ("internal")))
lib2_internal (void)
{
}

void __attribute__((visibility ("protected")))
lib2_protected (void)
{
}
OpenPOWER on IntegriCloud