diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-01-24 18:40:06 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-01-24 18:40:06 +0000 |
commit | 2f93a98d4052807c2068ee48f42013e4295a26d6 (patch) | |
tree | 17ba0351f708008545e21f09729e1fa232810ed3 | |
parent | 7a6e13aa2e3874fecf45043ed1a26900b8c13b98 (diff) |
Enhance test to check on expected rewritten output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94368 91177308-0d34-0410-b5e6-96231b3b80d8
-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))) + |