[cfe-commits] r155278 - /cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm

NAKAMURA Takumi geek4civic at gmail.com
Sat Apr 21 02:39:59 PDT 2012


Author: chapuni
Date: Sat Apr 21 04:39:58 2012
New Revision: 155278

URL: http://llvm.org/viewvc/llvm-project?rev=155278&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm

Modified: cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm?rev=155278&r1=155277&r2=155278&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm (original)
+++ cfe/trunk/test/Rewriter/rewrite-modern-extern-c-func-decl.mm Sat Apr 21 04:39:58 2012
@@ -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) = ^ {





More information about the cfe-commits mailing list