cxx/test/numerics/numarray/template.indirect.array/default.fail.cpp

23 lines
539 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.
//
//===----------------------------------------------------------------------===//
// <valarray>
// template <class T> class indirect_array
// indirect_array() = delete;
#include <valarray>
#include <type_traits>
int main()
{
std::indirect_array<int> ia;
}