blob: e4cc301ab4e8782383c54e55f734ac3fef65cda4 [file] [log] [blame]
// RUN: %clang -arch i386 -fms-extensions -rewrite-objc %s -o %t-rw.cpp
// RUN: FileCheck %s < %t-rw.cpp
// rdar://12189793
#ifdef __cplusplus
void *sel_registerName(const char *);
@interface Root @end
@interface MYINTF : Root
@end
#endif
@implementation MYINTF
- (id) MYMETH { return [self MYMETH]; }
@end
int main() {
}
// CHECK: static struct _class_ro_t _OBJC_CLASS_RO_$_MYINTF
// CHECK-NEXT: 0, 0, 0,
// CHECK-NEXT: 0,
// CHECK-NEST: "MYINTF",