[libcxx] r291060 - Fix XPASS buildbot failure related to structured bindings
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 4 17:34:15 PST 2017
Author: ericwf
Date: Wed Jan 4 19:34:14 2017
New Revision: 291060
URL: http://llvm.org/viewvc/llvm-project?rev=291060&view=rev
Log:
Fix XPASS buildbot failure related to structured bindings
The test was previously set to XFAIL if __cpp_structured_bindings
wasn't defined. However there are Clang 4.0 versions which do not
define this macro but do provide structured bindings, which causes
the test to pass unexpectedly.
This patch changes the XFAIL to an UNSUPPORTED.
Modified:
libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp
Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp?rev=291060&r1=291059&r2=291060&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp Wed Jan 4 19:34:14 2017
@@ -16,7 +16,7 @@
// : public integral_constant<size_t, sizeof...(Types)> { };
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// XFAIL: libcpp-no-structured-bindings
+// UNSUPPORTED: libcpp-no-structured-bindings
#include <tuple>
#include <array>
More information about the cfe-commits
mailing list