1 | // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/selector-warning.h |
---|---|
2 | // RUN: %clang_cc1 -include-pch %t.h.pch %s |
3 | |
4 | @interface Bar |
5 | + (void) clNotOk; |
6 | - (void) instNotOk; |
7 | + (void) cl1; |
8 | @end |
9 | |
10 | @implementation Bar |
11 | - (void) bar {} |
12 | + (void) cl1 {} |
13 | + (void) cl2 {} |
14 | @end |
15 | |
16 | @implementation Bar(CAT) |
17 | - (void) b1ar {} |
18 | @end |
19 | |
20 |