Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | b072b71 | 2009-04-03 21:51:32 +0000 | [diff] [blame] | 2 | |
3 | @protocol CYCdef | ||||
4 | - (int)name; | ||||
5 | @end | ||||
6 | |||||
7 | @interface JSCdef <CYCdef> { | ||||
8 | int name; | ||||
9 | } | ||||
10 | |||||
11 | @property (assign) int name; | ||||
12 | @end | ||||
13 | |||||
14 | @implementation JSCdef | ||||
15 | @synthesize name; | ||||
16 | @end | ||||
17 |