summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/catch_member_function_pointer_01.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/test/catch_member_function_pointer_01.pass.cpp')
-rw-r--r--libcxxabi/test/catch_member_function_pointer_01.pass.cpp3
1 files changed, 3 insertions, 0 deletions
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