]> git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/test-cases/objc-category-warning/copycat.m
309be0210105efe3675c49ff50cac1a160c3e12e
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / objc-category-warning / copycat.m
1 #include <Foundation/Foundation.h>
2
3 @interface Foo : NSObject
4 -(void) method1;
5 @end
6
7 @interface Foo(copycat)
8 - (void) instance_method_fromcat;
9 + (void) class_method_fromcat;
10 @end
11
12 @implementation Foo(copycat)
13 - (void) instance_method_fromcat {}
14 + (void) class_method_fromcat {}
15 @end
16