When referencing `NSObject`, it's enough to import `objc/NSObject.h`. Importing `Foundation` is unnecessary in these cases. Differential Revision: https://reviews.llvm.org/D99867
16 lines
287 B
Objective-C
16 lines
287 B
Objective-C
#import <objc/NSObject.h>
|
|
#import "Container.h"
|
|
#import <stdio.h>
|
|
|
|
int main(int argc, const char * argv[])
|
|
{
|
|
|
|
@autoreleasepool {
|
|
Container *j = [[Container alloc] init];
|
|
|
|
printf("member value = %p", [j getMember]); // Set breakpoint 0 here.
|
|
}
|
|
return 0;
|
|
}
|
|
|