summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-05-01 20:21:01 +0000
committerBill Wendling <isanbard@gmail.com>2012-05-01 20:21:01 +0000
commiteee8b7c1f0a72dd71918928298a82e80cd13bc93 (patch)
treec28c56b3ac493be9b7eafa56b6706ea2392405fe
parent2cfda26abb2e31a0c8963f46fec8ff99e0c5b828 (diff)
Merging r155278:
------------------------------------------------------------------------ r155278 | chapuni | 2012-04-21 02:39:58 -0700 (Sat, 21 Apr 2012) | 3 lines clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Mark as XFAIL:mingw for now, due to predefined __declspec. It could be tweaked to add -triple i686-win32, though. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_31@155934 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Rewriter/rewrite-modern-extern-c-func-decl.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Rewriter/rewrite-modern-extern-c-func-decl.mm b/test/Rewriter/rewrite-modern-extern-c-func-decl.mm
index 754456ddf3..10023bbc9f 100644
--- a/test/Rewriter/rewrite-modern-extern-c-func-decl.mm
+++ b/test/Rewriter/rewrite-modern-extern-c-func-decl.mm
@@ -2,6 +2,9 @@
// RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -Wno-attributes -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
// rdar://11131490
+// XFAIL: mingw
+// FIXME: __declspec(X) is predefined on mingw.
+
extern "C" __declspec(dllexport) void BreakTheRewriter(void) {
__block int aBlockVariable = 0;
void (^aBlock)(void) = ^ {