Mercurial > hg > CbC > CbC_llvm
view clang/test/Rewriter/method-encoding-1.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - @protocol P1 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2; + (void) MyProtoMeth : (int **) arg1 : (void*) arg2; @end @interface Intf <P1> - (char *) MyMeth : (double) arg1 : (char *[12]) arg2; - (id) address:(void *)location with:(unsigned **)arg2; @end @implementation Intf - (char *) MyMeth : (double) arg1 : (char *[12]) arg2{ return 0; } - (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {} + (void) MyProtoMeth : (int **) arg1 : (void*) arg2 {} - (id) address:(void *)location with:(unsigned **)arg2{ return 0; } @end