Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -rewrite-objc %s -o=- |
Fariborz Jahanian | c2939bc | 2007-10-30 17:06:23 +0000 | [diff] [blame] | 2 | |
| 3 | @protocol P1 |
| 4 | - (void) MyProtoMeth : (int **) arg1 : (void*) arg2; |
| 5 | + (void) MyProtoMeth : (int **) arg1 : (void*) arg2; |
| 6 | @end |
| 7 | |
| 8 | @interface Intf <P1> |
| 9 | - (char *) MyMeth : (double) arg1 : (char *[12]) arg2; |
| 10 | - (id) address:(void *)location with:(unsigned **)arg2; |
| 11 | @end |
| 12 | |
| 13 | @implementation Intf |
| 14 | - (char *) MyMeth : (double) arg1 : (char *[12]) arg2{} |
| 15 | - (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {} |
| 16 | + (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {} |
| 17 | - (id) address:(void *)location with:(unsigned **)arg2{} |
| 18 | @end |