[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Rewriter / method-encoding-1.m
blob08ee24b135c7123fdbbb51e5823df8492881e34e
1 // RUN: %clang_cc1 -rewrite-objc %s -o -
3 @protocol P1
4 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
5 + (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
6 @end
8 @interface Intf <P1>
9 - (char *) MyMeth : (double) arg1 : (char *[12]) arg2;
10 - (id) address:(void *)location with:(unsigned **)arg2;
11 @end
13 @implementation Intf
14 - (char *) MyMeth : (double) arg1 : (char *[12]) arg2{ return 0; }
15 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
16 + (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {}
17 - (id) address:(void *)location with:(unsigned **)arg2{ return 0; }
18 @end