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