20 lines · plain
1// RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/selector-warning.h2// RUN: %clang_cc1 -include-pch %t.h.pch %s3 4@interface Bar 5+ (void) clNotOk;6- (void) instNotOk;7+ (void) cl1;8@end9 10@implementation Bar11- (void) bar {}12+ (void) cl1 {}13+ (void) cl2 {}14@end15 16@implementation Bar(CAT)17- (void) b1ar {}18@end19 20