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

23 lines
524 B
C++
Raw Normal View History

//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. 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;
}