default.fail.cpp 563 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 mask_array
  10. // mask_array() = delete;
  11. #include <valarray>
  12. #include <type_traits>
  13. int main(int, char**)
  14. {
  15. std::mask_array<int> s;
  16. return 0;
  17. }