blob: 23b899dd8a3da500423423f8f8f17bf79db6dc58 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
void f1() {}
#ifndef NO_WEAK
void f2() __attribute__((weak));
void f2() {}
#endif
void f3() __attribute__((always_inline));
void f3() {}
#ifndef NO_EXTERN
extern void f4();
#endif
void f5() __attribute__((visibility("default")));
void f5() {}
void f6() __attribute__((visibility("hidden")));
void f6() {}
void f7() __attribute__((visibility("internal")));
void f7() {}
void call() {
f1();
#ifndef NO_WEAK
f2();
#endif
f3();
#ifndef NO_EXTERN
f4();
#endif
f5();
f6();
f7();
}
|