f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
18 lines
612 B
Objective-C
18 lines
612 B
Objective-C
// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o -
|
|
|
|
@protocol P1
|
|
- (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
|
|
+ (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
|
|
@end
|
|
|
|
@interface Intf <P1>
|
|
- (char *) MyMeth : (double) arg1 : (char *[12]) arg2;
|
|
- (id) address:(void *)location with:(unsigned **)arg2;
|
|
@end
|
|
|
|
@implementation Intf
|
|
- (char *) MyMeth : (double) arg1 : (char *[12]) arg2{ return 0; }
|
|
- (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
|
|
+ (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
|
|
- (id) address:(void *)location with:(unsigned **)arg2{ return 0; }
|
|
@end
|