aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/exclude_libs_test_1.c
blob: ced1aade14c3ec5f89d156b1bf26a0028cbeaa75 (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 lib1_default (void);
void lib1_hidden (void);
void lib1_internal (void);
void lib1_protected (void);

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)
{
}