minix/external/bsd/libc++/dist/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.fail.cpp

26 lines
559 B
C++
Raw Normal View History

//===----------------------------------------------------------------------===//
//
// 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;
// explicit tuple(const T&...);
#include <tuple>
#include <string>
#include <cassert>
int main()
{
{
std::tuple<int*> t = 0;
}
}