]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/dead_strip-initializers/other.cxx
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dead_strip-initializers / other.cxx
CommitLineData
b2fa67a8
A
1
2extern "C" int ctr();
3extern "C" void dtr();
4
5class Foo
6{
7public:
8 Foo() : field(ctr()) { }
9 ~Foo() { dtr(); }
10private:
11 int field;
12};
13
14
15Foo f1;
16Foo f2;
17
18