minix/external/bsd/llvm/dist/clang/test/Rewriter/no-integrated-preprocessing-64bit.m
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

26 lines
483 B
Objective-C

// RUN: %clang -target x86_64-unkown-unknown -fms-extensions -rewrite-objc %s -o - | FileCheck %s
// 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: (unsigned int)0,
// CHECK-NEXT: 0,
// CHECK-NEXT: "MYINTF",