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