default.fail.cpp 533 B

12345678910111213141516171819202122
  1. //===----------------------------------------------------------------------===//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is dual licensed under the MIT and the University of Illinois Open
  6. // Source Licenses. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. // <valarray>
  10. // template <class T> class gslice_array
  11. // gslice_array() = delete;
  12. #include <valarray>
  13. #include <type_traits>
  14. int main()
  15. {
  16. std::gslice_array<int> gs;
  17. }