| Patrick Beard | acfbe9e | 2012-04-06 18:12:22 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s |
| Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
| Fariborz Jahanian | 2705859 | 2009-04-03 21:51:32 +0000 | [diff] [blame] | 3 | |
| 4 | @protocol CYCdef | ||||
| 5 | - (int)name; | ||||
| 6 | @end | ||||
| 7 | |||||
| 8 | @interface JSCdef <CYCdef> { | ||||
| 9 | int name; | ||||
| 10 | } | ||||
| 11 | |||||
| 12 | @property (assign) int name; | ||||
| 13 | @end | ||||
| 14 | |||||
| 15 | @implementation JSCdef | ||||
| 16 | @synthesize name; | ||||
| 17 | @end | ||||
| 18 | |||||