diff options
-rw-r--r-- | test/Rewriter/rewrite-typeof.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Rewriter/rewrite-typeof.mm b/test/Rewriter/rewrite-typeof.mm index f95cd9ac7c..9c282b298d 100644 --- a/test/Rewriter/rewrite-typeof.mm +++ b/test/Rewriter/rewrite-typeof.mm @@ -1,4 +1,5 @@ -// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -o - %s +// 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 extern "C" { extern "C" void *_Block_copy(const void *aBlock); @@ -18,3 +19,5 @@ int main() { return 0; } +// CHECK-LP: ((void (^)(void))_Block_copy((const void *)(b))) + |