YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjC/method-in-class-extension-impl.m

21 lines
304 B
Mathematica
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://8530080
@protocol ViewDelegate @end
@interface NSTextView
- (id <ViewDelegate>)delegate;
@end
@interface FooTextView : NSTextView
@end
@interface FooTextView()
- (id)delegate;
@end
@implementation FooTextView
- (id)delegate {return 0; }
@end