repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Keep the source location of the selector in ObjCMessageExpr.
[clang.git]
/
test
/
SemaObjC
/
method-in-class-extension-impl.m
blob
c205322dec9dbf4b393bc7aa308b2363ddb9640b
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// rdar://8530080
3
4
@protocol ViewDelegate @end
5
6
@interface NSTextView
7
- (id <ViewDelegate>)delegate;
8
@end
9
10
@interface FooTextView : NSTextView
11
@end
12
13
@interface FooTextView()
14
- (id)delegate;
15
@end
16
17
@implementation FooTextView
18
- (id)delegate {return 0; }
19
@end
20