repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Rewriter
/
id-test-3.m
blob
ec4cfe44b0c9da8b3e0c31d142644a6553e8e3f0
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