]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/lto-dead_strip-objc/foo.m
ld64-123.2.tar.gz
[apple/ld64.git] / 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