xref: /aosp_15_r20/external/clang/test/SemaObjC/method-encoding-2.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang_cc1 %s
2*67e74705SXin Li// TODO: We don't support rewrite of method definitions
3*67e74705SXin Li
4*67e74705SXin Li@interface Intf
5*67e74705SXin Li- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2;
6*67e74705SXin Li- (id) another:(void *)location with:(unsigned **)arg2;
7*67e74705SXin Li@end
8*67e74705SXin Li
9*67e74705SXin Li@implementation Intf
10*67e74705SXin Li- (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return 0; }
11*67e74705SXin Li- (id) another:(void *)location with:(unsigned **)arg2 { return 0; }
12*67e74705SXin Li@end
13