From eea2287f83b3ec8330b12b03a42adcc88938d3fe Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 26 Apr 2019 01:06:32 +0000 Subject: [PATCH] add tuple_cat test for const T llvm-svn: 359256 --- .../tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp index 5d5927d..b663a48 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp @@ -240,18 +240,18 @@ int main(int, char**) } { int x = 101; - std::tuple t(42, x, x, std::move(x)); + std::tuple t(42, 101, x, x, std::move(x)); const auto& ct = t; - std::tuple t2(42, x, x); + std::tuple t2(42, 101, x, x); const auto& ct2 = t2; auto r = std::tuple_cat(std::move(t), std::move(ct), t2, ct2); ASSERT_SAME_TYPE(decltype(r), std::tuple< - int, int&, const int&, int&&, - int, int&, const int&, int&&, - int, int&, const int&, - int, int&, const int&>); + int, const int, int&, const int&, int&&, + int, const int, int&, const int&, int&&, + int, const int, int&, const int&, + int, const int, int&, const int&>); ((void)r); } return 0; -- 2.7.4