summaryrefslogtreecommitdiffstats
path: root/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-04-25 20:48:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-04-25 20:48:00 +0000
commit94ee181e08d331c9f5c1297e5eb5973dce51225a (patch)
treea4bf2257734b22730c429ebfabeb47393517b8fe /clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm
parentaa53d680bbc01f5a7a94ae37d27ca2fb100c9b68 (diff)
downloadbcm5719-llvm-94ee181e08d331c9f5c1297e5eb5973dce51225a.tar.gz
bcm5719-llvm-94ee181e08d331c9f5c1297e5eb5973dce51225a.zip
objective-c modern translator: more tests.
llvm-svn: 155585
Diffstat (limited to 'clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm')
-rw-r--r--clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm b/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm
index a6593834563..0b7f23e2136 100644
--- a/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm
+++ b/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-fragile-abi %s -o %t-rw.cpp
// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp
-// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp
+// RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp
// radar 7692350
void f(void (^block)(void));
OpenPOWER on IntegriCloud