summaryrefslogtreecommitdiffstats
path: root/test/PCH/selector-warning.m
blob: 413f64f541976be87a97a14afdc25061b0dcf96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/selector-warning.h
// RUN: %clang_cc1 -include-pch %t.h.pch %s

@interface Bar 
+ (void) clNotOk;
- (void) instNotOk;
+ (void) cl1;
@end

@implementation Bar
- (void) bar {}
+ (void) cl1 {}
+ (void) cl2 {}
@end

@implementation Bar(CAT)
- (void) b1ar {}
@end