summaryrefslogtreecommitdiff
path: root/test/Rewriter/rewrite-byref-in-nested-blocks.mm
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-05-01 10:52:06 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-05-01 10:52:06 +0000
commit9ff009faecbcdd4f81c709690a7887b20fc00ca4 (patch)
tree6b3aac3723d69a10c3a741df76b20be1828fca82 /test/Rewriter/rewrite-byref-in-nested-blocks.mm
parentbb1a899dd509a5daaca6c173c518f91fbe84e4a8 (diff)
downloadclang-9ff009faecbcdd4f81c709690a7887b20fc00ca4.tar.gz
clang/test/Rewriter: Remove XFAIL and add -U__declspec to other 9 tests. mingw32 tends to define built-in __declspec.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155911 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.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Rewriter/rewrite-byref-in-nested-blocks.mm b/test/Rewriter/rewrite-byref-in-nested-blocks.mm
index dc8e737fc0..1583945b2c 100644
--- a/test/Rewriter/rewrite-byref-in-nested-blocks.mm
+++ b/test/Rewriter/rewrite-byref-in-nested-blocks.mm
@@ -1,9 +1,8 @@
// 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 -fsyntax-only -fblocks -Wno-address-of-temporary -D"SEL=void*" -U__declspec -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 -Werror -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*" -U__declspec -D"__declspec(X)=" %t-modern-rw.cpp
// radar 7692350
-// XFAIL: mingw32
void f(void (^block)(void));