• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2// expected-no-diagnostics
3// rdar://9078584
4
5@interface NSObject @end
6
7@protocol TextInput
8-editRange;
9@end
10
11@interface I {
12  NSObject<TextInput>* editor;
13}
14- (id) Meth;
15@end
16
17@implementation I
18- (id) Meth {
19   return editor.editRange;
20}
21@end
22
23