aboutsummaryrefslogtreecommitdiff
path: root/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
commitdf407c337cd3a20ceed31138fbef25d9a28a908e (patch)
tree3ac1f935278fc8678735f048dcee72fa82827a7c /test/Rewriter/rewrite-byref-in-nested-blocks.mm
parent2b90f7637e846ea555dedac14e7f5065d85c5d3b (diff)
objective-c modern translator: more tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter/rewrite-byref-in-nested-blocks.mm')
-rw-r--r--test/Rewriter/rewrite-byref-in-nested-blocks.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Rewriter/rewrite-byref-in-nested-blocks.mm b/test/Rewriter/rewrite-byref-in-nested-blocks.mm
index a659383456..0b7f23e213 100644
--- a/test/Rewriter/rewrite-byref-in-nested-blocks.mm
+++ b/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));