]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/lto-dead_strip-coalesce/main.c
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / lto-dead_strip-coalesce / main.c
1
2 #include <string.h>
3 #include <CoreFoundation/CoreFoundation.h>
4
5
6 extern void foo1();
7
8
9 void t1()
10 {
11 CFStringGetLength(CFSTR("test1"));
12 strlen("str1");
13 }
14
15 void t2()
16 {
17 CFStringGetLength(CFSTR("test2"));
18 strlen("str2");
19 }
20
21 void t3()
22 {
23 CFStringGetLength(CFSTR("test3"));
24 strlen("str3");
25 }
26
27
28 int main()
29 {
30 t2();
31 foo1();
32 return 0;
33 }
34