[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Rewriter / rewrite-cast-to-bool.mm
blob58db706e3ce9657b93b58e5c8b5c066720219693
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
5 void *sel_registerName(const char *);
7 @interface  NSURLDownload
8 -(void)setBool:(bool)Arg;
9 @end
11 @implementation NSURLDownload
12 - (void) Meth
14    [self setBool:(signed char)1];
16 @end