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