Keep the source location of the selector in ObjCMessageExpr.
[clang.git] / test / SemaObjC / method-in-class-extension-impl.m
blobc205322dec9dbf4b393bc7aa308b2363ddb9640b
1 // RUN: %clang_cc1  -fsyntax-only -verify %s
2 // rdar://8530080
4 @protocol ViewDelegate @end
6 @interface NSTextView
7 - (id <ViewDelegate>)delegate;
8 @end
10 @interface FooTextView : NSTextView
11 @end
13 @interface FooTextView() 
14 - (id)delegate;
15 @end
17 @implementation FooTextView
18 - (id)delegate {return 0; }
19 @end