1// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp 2// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=struct objc_object *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp 3// rdar://11239894 4 5extern "C" void *sel_registerName(const char *); 6 7typedef struct objc_class * Class; 8 9@interface Sub 10- (void)dealloc; 11@end 12 13@interface I : Sub 14- (void)dealloc; 15@end 16 17@implementation I 18- (void)dealloc { 19 return; 20 [super dealloc]; 21} 22@end 23 24