2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -rewrite-objc %s -o -
|
2007-10-31 01:06:23 +08:00
|
|
|
|
|
|
|
@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
|
2009-07-22 08:43:08 +08:00
|
|
|
- (char *) MyMeth : (double) arg1 : (char *[12]) arg2{ return 0; }
|
2007-10-31 01:06:23 +08:00
|
|
|
- (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
|
|
|
|
+ (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
|
2009-07-22 08:43:08 +08:00
|
|
|
- (id) address:(void *)location with:(unsigned **)arg2{ return 0; }
|
2007-10-31 01:06:23 +08:00
|
|
|
@end
|