1 // RUN: %clang_cc1 %s -fsyntax-only -verify -triple i386-apple-darwin9
2 typedef struct objc_object {} *id;
3 typedef signed char BOOL;
4 typedef unsigned int NSUInteger;
5 typedef struct _NSZone NSZone;
8 - (BOOL) isEqual:(id) object;
12 - (id) copyWithZone:(NSZone *) zone;
15 @interface NSObject < NSObject > {}
18 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
20 @interface MyClassBase : NSObject < NSCopying > {}
23 @interface MyClassDirectNode : MyClassBase < NSCopying >
25 @public NSUInteger attributeRuns[((1024 - 16 - sizeof (MyClassBase)) / (sizeof (NSUInteger) + sizeof (void *)))];