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

23 lines
514 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 slice_array
// slice_array() = delete;
#include <valarray>
#include <type_traits>
int main()
{
std::slice_array<int> s;
}