summaryrefslogtreecommitdiff
path: root/test/cxa_thread_atexit_test.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cxa_thread_atexit_test.pass.cpp')
-rw-r--r--test/cxa_thread_atexit_test.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cxa_thread_atexit_test.pass.cpp b/test/cxa_thread_atexit_test.pass.cpp
index 56984f0..f612848 100644
--- a/test/cxa_thread_atexit_test.pass.cpp
+++ b/test/cxa_thread_atexit_test.pass.cpp
@@ -10,6 +10,11 @@
// UNSUPPORTED: libcxxabi-no-threads
// REQUIRES: linux
+// this test will only work if CMake detects a real __cxa_thread_atexit_impl
+// at configure time. This function, however, was added only in glibc 2.18,
+// and there are still plenty of systems only using 2.17 (Ex RHEL 7).
+// XFAIL: libcxxabi-no-cxa-thread-atexit-impl
+
#include <assert.h>
#include <cxxabi.h>