1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3// rdar://9740328
4
5@protocol P1;
6
7@interface NSObject
8@end
9
10@interface A : NSObject
11@property (assign) NSObject<P1> *prop;
12@end
13
14@protocol P2 <P1>
15@end
16
17@interface B : A
18@property (assign) NSObject<P2> *prop;
19@end
20
21