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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-05 01:34:14 +00:00
parent c3dfeced41
commit d0f20b2b08

View File

@@ -16,7 +16,7 @@
// : public integral_constant<size_t, sizeof...(Types)> { }; // : public integral_constant<size_t, sizeof...(Types)> { };
// UNSUPPORTED: c++98, c++03, c++11, c++14 // UNSUPPORTED: c++98, c++03, c++11, c++14
// XFAIL: libcpp-no-structured-bindings // UNSUPPORTED: libcpp-no-structured-bindings
#include <tuple> #include <tuple>
#include <array> #include <array>