[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / objc_methods.h
blob6dfa24896238e3cfce88367d15f97d3430619d07
1 /* For use with the methods.m test */
3 @interface TestPCH
4 + alloc;
5 - (instancetype)instMethod;
6 @end
8 @class TestForwardClassDecl;
10 // FIXME: @compatibility_alias AliasForTestPCH TestPCH;
12 // http://llvm.org/PR12689
13 @interface PR12689
14 @end
16 @implementation PR12689
17 -(void)mugi:(int)x {
18 switch(x) {
19 case 23: {}
22 -(void)bonk:(int)x {
23 switch(x) {
24 case 42: {}
27 @end
29 @interface PR12689_2
30 @end
32 @implementation PR12689_2
33 -(void)mugi:(int)x {
34 switch(x) {
35 case 23: [self bonk:x]; break;
36 case 82: break;
39 -(void)bonk:(int)x {
41 @end