================
@@ -18,6 +18,15 @@
 #include <typeindex>
 #include <vector>
 
+#include "test_macros.h"
+
+// Itanium ABI implementations prefix the RTTI name of a type with internal 
linkage with a '*',
+// which lets this implementation distinguish between two internally linked 
types
+#if !defined(_LIBCPP_ABI_MICROSOFT) &&                                         
                                        \
+    (defined(TEST_COMPILER_GCC) || (defined(TEST_CLANG_VER) && TEST_CLANG_VER 
>= 2400))
+#  define INTERNAL_LINKAGE_RTTI_NAMES_ARE_MARKED
+#endif
----------------
philnik777 wrote:

I think we should just XFAIL the test for older compilers instead.

https://github.com/llvm/llvm-project/pull/220864
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to