Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Rewriter/id-test-3.m @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o - |
2 | |
3 @protocol P | |
4 - (id<P>) Meth: (id<P>) Arg; | |
5 @end | |
6 | |
7 @interface INTF<P> | |
8 - (id<P>)IMeth; | |
9 @end | |
10 | |
11 @implementation INTF | |
12 - (id<P>)IMeth { return [(id<P>)self Meth: (id<P>)0]; } | |
13 - (id<P>) Meth : (id<P>) Arg { return 0; } | |
14 @end |