1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5
2 // expected-no-diagnostics
3 typedef struct objc_object {} *id;
4 typedef signed char BOOL;
5 typedef unsigned int NSUInteger;
6 typedef struct _NSZone NSZone;
9 - (BOOL) isEqual:(id) object;
13 - (id) copyWithZone:(NSZone *) zone;
16 @interface NSObject < NSObject > {}
19 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
21 @interface MyClassBase : NSObject < NSCopying > {}
24 @interface MyClassDirectNode : MyClassBase < NSCopying >
26 @public NSUInteger attributeRuns[((1024 - 16 - sizeof (MyClassBase)) / (sizeof (NSUInteger) + sizeof (void *)))];