default.fail.cpp 570 B

1234567891011121314151617181920212223
  1. //===----------------------------------------------------------------------===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. // <valarray>
  9. // template <class T> class gslice_array
  10. // gslice_array() = delete;
  11. #include <valarray>
  12. #include <type_traits>
  13. int main(int, char**)
  14. {
  15. std::gslice_array<int> gs;
  16. return 0;
  17. }