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