aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-04-27 04:36:34 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-04-27 04:36:34 +0000
commit29a4ce4e7236498b3c75160875582b4d41b0c90d (patch)
tree0fe7c268e9003d0aee3753c49fba3c741d85622f
parentba82a619a9a8d96c4e2aa166c2eece3f28e5f117 (diff)
test/Rewriter: Mark 4 tests as XFAIL:mingw32, due to predefined __declspec(a) issue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155692 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Rewriter/rewrite-byref-in-nested-blocks.mm1
-rw-r--r--test/Rewriter/rewrite-modern-block-consts.mm1
-rw-r--r--test/Rewriter/rewrite-modern-block.mm1
-rw-r--r--test/Rewriter/rewrite-rewritten-initializer.mm1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/Rewriter/rewrite-byref-in-nested-blocks.mm b/test/Rewriter/rewrite-byref-in-nested-blocks.mm
index 0b7f23e213..dc8e737fc0 100644
--- a/test/Rewriter/rewrite-byref-in-nested-blocks.mm
+++ b/test/Rewriter/rewrite-byref-in-nested-blocks.mm
@@ -3,6 +3,7 @@
// 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
// radar 7692350
+// XFAIL: mingw32
void f(void (^block)(void));
diff --git a/test/Rewriter/rewrite-modern-block-consts.mm b/test/Rewriter/rewrite-modern-block-consts.mm
index 7761db5b7c..bc0e50bd95 100644
--- a/test/Rewriter/rewrite-modern-block-consts.mm
+++ b/test/Rewriter/rewrite-modern-block-consts.mm
@@ -1,6 +1,7 @@
// 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"__declspec(X)=" %t-modern-rw.cpp
// rdar:// 8243071
+// XFAIL: mingw32
void x(int y) {}
void f() {
diff --git a/test/Rewriter/rewrite-modern-block.mm b/test/Rewriter/rewrite-modern-block.mm
index 675d206c2c..dcb1c84a07 100644
--- a/test/Rewriter/rewrite-modern-block.mm
+++ b/test/Rewriter/rewrite-modern-block.mm
@@ -1,6 +1,7 @@
// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
// RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
// rdar://11230308
+// XFAIL: mingw32
typedef struct {
char byte0;
diff --git a/test/Rewriter/rewrite-rewritten-initializer.mm b/test/Rewriter/rewrite-rewritten-initializer.mm
index f2b0c5a173..6277b5c9b1 100644
--- a/test/Rewriter/rewrite-rewritten-initializer.mm
+++ b/test/Rewriter/rewrite-rewritten-initializer.mm
@@ -3,6 +3,7 @@
// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-rw-modern.cpp
// RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw-modern.cpp
// radar 7669784
+// XFAIL: mingw32
typedef void * id;
void *sel_registerName(const char *);