Fariborz Jahanian | c286f38 | 2011-07-12 22:05:16 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | // rdar://9740328 | ||||
Fariborz Jahanian | c286f38 | 2011-07-12 22:05:16 +0000 | [diff] [blame] | 3 | |
4 | @protocol P1; | ||||
5 | |||||
6 | @interface NSObject | ||||
7 | @end | ||||
8 | |||||
9 | @interface A : NSObject | ||||
10 | @property (assign) NSObject<P1> *prop; | ||||
11 | @end | ||||
12 | |||||
13 | @protocol P2 <P1> | ||||
14 | @end | ||||
15 | |||||
16 | @interface B : A | ||||
17 | @property (assign) NSObject<P2> *prop; | ||||
18 | @end | ||||
19 |