blob: cdb855e1547315752eaba85b11a480f275f738bc [file] [log] [blame]
Patrick Beardacfbe9e2012-04-06 18:12:22 +00001// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
Andy Gibbsc6e68da2012-10-19 12:44:48 +00002// expected-no-diagnostics
Fariborz Jahanian27058592009-04-03 21:51:32 +00003
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