]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/dead_strip-initializers/main.cxx
ld64-224.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dead_strip-initializers / main.cxx
1
2 int main()
3 {
4 return 0;
5 }
6
7
8
9 void dead_door_knob() { }
10
11
12 extern "C" int ctr();
13 extern "C" void dtr();
14
15
16 int ctr() { return 10; }
17 void dtr() { }
18
19
20 #if __STATIC__
21 extern "C" void __cxa_atexit();
22 void __cxa_atexit() {}
23 #endif
24