Fix type in tuple test. Sorry for the noise
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@255944 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
199bee0ea7
commit
9a6a9c08e4
@ -67,7 +67,7 @@ int main()
|
||||
|
||||
{
|
||||
int x = 42;
|
||||
int tuple y = 43;
|
||||
int y = 43;
|
||||
std::tuple<int&, int const&> const t(x, y);
|
||||
static_assert(std::is_same<int&, decltype(std::get<int&>(std::move(t)))>::value, "");
|
||||
static_assert(noexcept(std::get<int&>(std::move(t))), "");
|
||||
@ -77,7 +77,7 @@ int main()
|
||||
|
||||
{
|
||||
int x = 42;
|
||||
int tuple y = 43;
|
||||
int y = 43;
|
||||
std::tuple<int&&, int const&&> const t(std::move(x), std::move(y));
|
||||
static_assert(std::is_same<int&&, decltype(std::get<int&&>(std::move(t)))>::value, "");
|
||||
static_assert(noexcept(std::get<int&&>(std::move(t))), "");
|
||||
|
Loading…
Reference in New Issue
Block a user