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
8 lines
117 B
Objective-C
8 lines
117 B
Objective-C
#import <objc/NSObject.h>
|
|
#import "myclass.h"
|
|
|
|
int main() {
|
|
id object = [MyClass new];
|
|
return 0; // break here
|
|
}
|