]> git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/test-cases/lto-dead_strip-objc/foo.m
6ee5735cab5c2e6db08fe30d9f73bcf954cddd5f
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / lto-dead_strip-objc / foo.m
1 #include <Foundation/Foundation.h>
2
3 @interface Foo : NSObject
4 - (NSString*) foo;
5 @end
6
7
8 @implementation Foo
9 - (NSString*) foo
10 {
11 return [NSString stringWithUTF8String:"hello"];
12 }
13 @end
14
15
16 @interface Bar : NSData
17 - (NSArray*) bar;
18 @end
19
20
21 @implementation Bar
22 - (NSArray*) bar
23 {
24 return [NSArray array];
25 }
26 @end
27