f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
21 lines
331 B
Objective-C
21 lines
331 B
Objective-C
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
// 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
|
|
|