Skip to content
Snippets Groups Projects
Commit 2f93a98d authored by Fariborz Jahanian's avatar Fariborz Jahanian
Browse files

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
parent 7a6e13aa
No related branches found
No related tags found
No related merge requests found
// 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)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment