forked from OSchip/llvm-project
Make rewritten source compiled with clang++ for correctness.
llvm-svn: 97761
This commit is contained in:
parent
ece1797542
commit
7103835d79
|
@ -1,5 +1,5 @@
|
|||
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
|
||||
// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
|
||||
// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
|
||||
// radar 7583971
|
||||
|
||||
|
||||
|
@ -29,5 +29,3 @@
|
|||
_internal->response->InnerResponse = 0;
|
||||
}
|
||||
@end
|
||||
|
||||
// CHECK-LP: ((struct NSURLResponse_IMPL *)((struct NSCachedURLResponseInternal_IMPL *)((struct NSCachedURLResponse_IMPL *)self)->_internal)->response)->InnerResponse
|
||||
|
|
Loading…
Reference in New Issue