blob: ee397b332570ecb18f2322a3ce6e9340a486ee6c [file] [log] [blame]
Fariborz Jahanianb20c46e2012-04-13 16:20:05 +00001// 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