diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-02-16 22:27:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-02-16 22:27:50 +0000 |
commit | cf01cbef165158c9492f5c41afb80dba8f98b458 (patch) | |
tree | 7bd0fd283e8268c16d34ed6eacdf4e07f64c3588 /clang/test/Rewriter/rewrite-unique-block-api.mm | |
parent | be1896e944ddfc670e70ff66eae7cfd5430cea98 (diff) | |
download | bcm5719-llvm-cf01cbef165158c9492f5c41afb80dba8f98b458.tar.gz bcm5719-llvm-cf01cbef165158c9492f5c41afb80dba8f98b458.zip |
More rewriter test converted to compile with clang.
llvm-svn: 96406
Diffstat (limited to 'clang/test/Rewriter/rewrite-unique-block-api.mm')
-rw-r--r-- | clang/test/Rewriter/rewrite-unique-block-api.mm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/test/Rewriter/rewrite-unique-block-api.mm b/clang/test/Rewriter/rewrite-unique-block-api.mm index 780a3f0a5e2..130f5143654 100644 --- a/clang/test/Rewriter/rewrite-unique-block-api.mm +++ b/clang/test/Rewriter/rewrite-unique-block-api.mm @@ -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 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // radar 7630551 void f(void (^b)(char c)); @@ -23,9 +23,3 @@ void f(void (^b)(char c)); f(^(char x) { }); } @end - -// CHECK-LP: struct __a__processStuff_block_impl_0 -// CHECK-LP: static void __a__processStuff_block_func_0 - -// CHECK-LP: struct __b__processStuff_block_impl_0 -// CHECK-LP: static void __b__processStuff_block_func_0 |