summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-01-20 04:06:46 +0000
committerEric Fiselier <eric@efcs.ca>2016-01-20 04:06:46 +0000
commit3f7c20747dd2babbf809be35217912d0f31895e4 (patch)
tree9d8b713d8fef7e47bf129e5859a74a24d48a6b08 /libcxxabi/test
parentdfd6088c3ff88c9ab6dd5149ff5d02dda34cedfa (diff)
downloadbcm5719-llvm-3f7c20747dd2babbf809be35217912d0f31895e4.tar.gz
bcm5719-llvm-3f7c20747dd2babbf809be35217912d0f31895e4.zip
Mark some tests as XFAIL with GCC due to compiler bugs
llvm-svn: 258284
Diffstat (limited to 'libcxxabi/test')
-rw-r--r--libcxxabi/test/catch_array_01.pass.cpp5
-rw-r--r--libcxxabi/test/catch_function_01.pass.cpp4
-rw-r--r--libcxxabi/test/catch_member_function_pointer_01.pass.cpp3
3 files changed, 12 insertions, 0 deletions
diff --git a/libcxxabi/test/catch_array_01.pass.cpp b/libcxxabi/test/catch_array_01.pass.cpp
index 4997602a6d0..933e4b28f60 100644
--- a/libcxxabi/test/catch_array_01.pass.cpp
+++ b/libcxxabi/test/catch_array_01.pass.cpp
@@ -9,6 +9,11 @@
// Can you have a catch clause of array type that catches anything?
+
+// GCC incorrectly allows array types to be caught by reference.
+// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
+// XFAIL: gcc
+
#include <cassert>
int main()
diff --git a/libcxxabi/test/catch_function_01.pass.cpp b/libcxxabi/test/catch_function_01.pass.cpp
index 087fce44c70..1bdda69f1af 100644
--- a/libcxxabi/test/catch_function_01.pass.cpp
+++ b/libcxxabi/test/catch_function_01.pass.cpp
@@ -9,6 +9,10 @@
// Can you have a catch clause of array type that catches anything?
+// GCC incorrectly allows function pointer to be caught by reference.
+// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372
+// XFAIL: gcc
+
#include <cassert>
template <class Tp>
diff --git a/libcxxabi/test/catch_member_function_pointer_01.pass.cpp b/libcxxabi/test/catch_member_function_pointer_01.pass.cpp
index 28b13cc6709..9b817304c0c 100644
--- a/libcxxabi/test/catch_member_function_pointer_01.pass.cpp
+++ b/libcxxabi/test/catch_member_function_pointer_01.pass.cpp
@@ -7,6 +7,9 @@
//
//===----------------------------------------------------------------------===//
+// GCC incorrectly allows PMF type "void (T::*)()" to be caught as "void (T::*)() const"
+// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375
+// XFAIL: gcc
#include <cassert>
struct A
OpenPOWER on IntegriCloud