| Patrick Beard | acfbe9e | 2012-04-06 18:12:22 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s | 
| Fariborz Jahanian | 2705859 | 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 | |||||