[libcxx] r347264 - [libcxx] Fix XFAIL for GCC 4.9
Louis Dionne
ldionne at apple.com
Mon Nov 19 12:53:38 PST 2018
Author: ldionne
Date: Mon Nov 19 12:53:38 2018
New Revision: 347264
URL: http://llvm.org/viewvc/llvm-project?rev=347264&view=rev
Log:
[libcxx] Fix XFAIL for GCC 4.9
The XFAIL started passing since we're only testing for trivial-copyability of
reference_wrapper in C++14 and above. This commit constrains the XFAIL to
gcc-4.9 with C++14 (it would also fail on C++17 and above, but those standards
are not available with GCC 4.9).
Modified:
libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
Modified: libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp?rev=347264&r1=347263&r2=347264&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp Mon Nov 19 12:53:38 2018
@@ -15,7 +15,7 @@
// CopyAssignable, and TriviallyCopyable (starting in C++14).
// Test fails due to use of is_trivially_* trait.
-// XFAIL: gcc-4.9
+// XFAIL: gcc-4.9 && c++14
#include <functional>
#include <type_traits>
More information about the libcxx-commits
mailing list