1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
13 @protocol DerivedGCObject <GCObject>
17 @interface GCObject : Object <DerivedGCObject> {
22 @property int OwnClass;
25 @implementation GCObject : Object
26 @synthesize class=ifield;
27 @synthesize Dclass=iDclass;
28 @synthesize OwnClass=iOwnClass;
31 int main(int argc, char **argv) {
32 GCObject *f = [GCObject new];
36 return f.class + f.Dclass + f.OwnClass - 9;