Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | 50efe04 | 2009-04-06 16:59:10 +0000 | [diff] [blame] | 2 | |
3 | @interface MessageStore | ||||
4 | @property (assign, readonly) int P; | ||||
5 | @end | ||||
6 | |||||
7 | @interface MessageStore (CAT) | ||||
8 | @property (assign) int P; | ||||
9 | @end | ||||
10 | |||||
11 | @interface NeXTMbox : MessageStore | ||||
12 | @end | ||||
13 | |||||
14 | @implementation NeXTMbox | ||||
15 | - (void) Meth { self.P = 1; } | ||||
16 | @end | ||||
17 |