1 // RUN: %clang_cc1 -fsyntax-only -verify %s
12 @protocol DerivedGCObject <GCObject>
16 @interface GCObject : Object <DerivedGCObject> {
21 @property int OwnClass;
24 @implementation GCObject : Object
25 @synthesize class=ifield;
26 @synthesize Dclass=iDclass;
27 @synthesize OwnClass=iOwnClass;
30 int main(int argc, char **argv) {
31 GCObject *f = [GCObject new];
35 return f.class + f.Dclass + f.OwnClass - 9;