1 // TEST_CONFIG MEM=mrc,gc
5 #import <Foundation/NSObject.h>
7 @interface Sub : NSObject { } @end
9 +(id)allocWithZone:(NSZone *)zone {
10 testprintf("in +[Sub alloc]\n");
11 return [super allocWithZone:zone];
14 testprintf("in -[Sub dealloc]\n");
22 [[Sub new] autorelease];