blob: 619a88625a6c85ff582b5b63987072bea00a1d19 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s
Fariborz Jahanian35600022007-11-09 17:18:29 +00002// TODO: We don't support rewrite of method definitions
Fariborz Jahanianecb01e62007-11-01 17:18:37 +00003
4@interface Intf
5- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2;
6- (id) another:(void *)location with:(unsigned **)arg2;
7@end
8
9@implementation Intf
Mike Stumpd1969d82009-07-22 00:43:08 +000010- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return 0; }
11- (id) another:(void *)location with:(unsigned **)arg2 { return 0; }
Fariborz Jahanianecb01e62007-11-01 17:18:37 +000012@end