#import "../objc/runtime.h" #import "../objc/objc-arc.h" #ifdef NDEBUG #undef NDEBUG #endif #include #ifndef __has_attribute #define __has_attribute(x) 0 #endif #if __has_attribute(objc_root_class) __attribute__((objc_root_class)) #endif @interface Test { id isa; } + (Class)class; + (id)new; #if !__has_feature(objc_arc) - (void)dealloc; - (id)autorelease; - (id)retain; - (void)release; #endif @end @interface NSAutoreleasePool : Test @end