]> git.saurik.com Git - apple/ld64.git/blame_incremental - ld64-134.9/unit-tests/test-cases/objc-category-warning/cat.m
ld64-134.9.tar.gz
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / objc-category-warning / cat.m
... / ...
CommitLineData
1#include <Foundation/Foundation.h>
2
3@interface Foo : NSObject
4-(void) method1;
5@end
6
7@interface Foo(fromcat)
8- (void) instance_method_fromcat;
9+ (void) class_method_fromcat;
10#if OVERRIDE_CLASS
11- (void) instance_method;
12+ (void) class_method;
13#endif
14@end
15
16@implementation Foo(fromcat)
17- (void) instance_method_fromcat {}
18+ (void) class_method_fromcat {}
19#if OVERRIDE_CLASS
20- (void) instance_method {}
21+ (void) class_method {}
22#endif
23@end
24