1// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-fragile-abi %s -o %t-rw.cpp 2// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp 3// radar 9899834 4 5void *sel_registerName(const char *); 6 7@interface NSURLDownload 8-(void)setBool:(bool)Arg; 9@end 10 11@implementation NSURLDownload 12- (void) Meth 13{ 14 [self setBool:(signed char)1]; 15} 16@end 17 18