1*8fbe78f6SDaniel Dunbar// RUN: %clang_cc1 %s 289026888SChris Lattner// TODO: We don't support rewrite of method definitions 389026888SChris Lattner 489026888SChris Lattner@interface Intf 589026888SChris Lattner- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2; 689026888SChris Lattner- (id) another:(void *)location with:(unsigned **)arg2; 789026888SChris Lattner@end 889026888SChris Lattner 989026888SChris Lattner@implementation Intf 10753d1209SMike Stump- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return 0; } 11753d1209SMike Stump- (id) another:(void *)location with:(unsigned **)arg2 { return 0; } 1289026888SChris Lattner@end 13