Files
android_external_libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/copy.fail.cpp
Dan Albert 5cb52824fc Merge to upstream r231255.
Change-Id: Ia8ee1801b42943464b99f28b6a83647458f3efb5
2015-03-04 10:47:52 -08:00

32 lines
663 B
C++

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <tuple>
// template <class... Types> class tuple;
// tuple& operator=(const tuple& u);
// UNSUPPORTED: c++98, c++03
#include <tuple>
#include <cassert>
#include "MoveOnly.h"
int main()
{
{
typedef std::tuple<MoveOnly> T;
T t0(MoveOnly(2));
T t;
t = t0;
}
}