1 | // 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 |
---|---|
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 | |
5 | void *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 |