Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / Posix / instrprof-visibility-kinds.inc
blob23b899dd8a3da500423423f8f8f17bf79db6dc58
1 void f1() {}
3 #ifndef NO_WEAK
4 void f2() __attribute__((weak));
5 void f2() {}
6 #endif
8 void f3() __attribute__((always_inline));
9 void f3() {}
11 #ifndef NO_EXTERN
12 extern void f4();
13 #endif
15 void f5() __attribute__((visibility("default")));
16 void f5() {}
18 void f6() __attribute__((visibility("hidden")));
19 void f6() {}
21 void f7() __attribute__((visibility("internal")));
22 void f7() {}
24 void call() {
25   f1();
26 #ifndef NO_WEAK
27   f2();
28 #endif
29   f3();
30 #ifndef NO_EXTERN
31   f4();
32 #endif
33   f5();
34   f6();
35   f7();