summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/function.objects/refwrap
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-11-19 20:53:38 +0000
committerLouis Dionne <ldionne@apple.com>2018-11-19 20:53:38 +0000
commit70c4858892449144b8fde3170473f3a70a989344 (patch)
tree2a18791a5447c7b1e9e067baa066ea599d4dcdc4 /libcxx/test/std/utilities/function.objects/refwrap
parente0ac0692865f1cd2b0da268b4de9543d379d2fc9 (diff)
downloadbcm5719-llvm-70c4858892449144b8fde3170473f3a70a989344.tar.gz
bcm5719-llvm-70c4858892449144b8fde3170473f3a70a989344.zip
[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). llvm-svn: 347264
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/refwrap')
-rw-r--r--libcxx/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
index 6790a111699..27d498ec828 100644
--- a/libcxx/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
+++ b/libcxx/test/std/utilities/function.objects/refwrap/type_properties.pass.cpp
@@ -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>
OpenPOWER on IntegriCloud