1 // RUN: %clang -target i386-unknown-unknown -fms-extensions -rewrite-objc %s -o %t-rw.cpp 2 // RUN: FileCheck %s < %t-rw.cpp 3 // rdar://12189793 4 5 #ifdef __cplusplus 6 7 void *sel_registerName(const char *); 8 9 @interface Root @end 10 11 @interface MYINTF : Root 12 @end 13 14 #endif 15 16 @implementation MYINTF 17 - (id) MYMETH { return [self MYMETH]; } 18 @end 19 20 int main() { 21 } 22 23 // CHECK: static struct _class_ro_t _OBJC_CLASS_RO_$_MYINTF 24 // CHECK-NEXT: 0, 0, 0, 25 // CHECK-NEXT: 0, 26 // CHECK-NEXT: "MYINTF", 27