]> git.saurik.com Git - apple/objc4.git/blob - test/unload2.m
objc4-680.tar.gz
[apple/objc4.git] / test / unload2.m
1 #include "unload.h"
2 #include "testroot.i"
3 #import <objc/objc-api.h>
4
5 @implementation SmallClass : TestRoot
6 -(void)unload2_instance_method { }
7 @end
8
9
10 @implementation BigClass : TestRoot
11 @end
12
13 OBJC_ROOT_CLASS
14 @interface UnusedClass { id isa; } @end
15 @implementation UnusedClass @end
16
17
18 @protocol SmallProtocol
19 -(void)unload2_category_method;
20 @end
21
22 @interface SmallClass (Category) <SmallProtocol> @end
23
24 @implementation SmallClass (Category)
25 -(void)unload2_category_method { }
26 @end