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