]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-fail-cleanly.dtest/b.m
dyld-750.5.tar.gz
[apple/dyld.git] / testing / test-cases / dlopen-fail-cleanly.dtest / b.m
1 #include <Foundation/Foundation.h>
2
3 extern void c_extra();
4
5 // The existence of this class should prevent libb.dylib from being unloaded
6
7 @interface TestClass : NSObject
8 -(void) foo;
9 @end
10
11 @implementation TestClass
12 -(void) foo { c_extra(); }
13 @end
14