blob: 58db706e3ce9657b93b58e5c8b5c066720219693 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp
Fariborz Jahanian1a38b462011-08-04 23:58:03 +00002// 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