diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-05-01 10:52:06 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-05-01 10:52:06 +0000 |
commit | 9ff009faecbcdd4f81c709690a7887b20fc00ca4 (patch) | |
tree | 6b3aac3723d69a10c3a741df76b20be1828fca82 /test/Rewriter/rewrite-byref-in-nested-blocks.mm | |
parent | bb1a899dd509a5daaca6c173c518f91fbe84e4a8 (diff) | |
download | clang-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.mm | 5 |
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)); |