blob: 3d3bf9187db53d5c4d90bd6570b7f30c6a73b7ec [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// WARNING: This test was generated by generate_header_inclusion_tests.py
// and should not be edited manually.
//
// clang-format off
// <valarray>
// Test that <valarray> includes all the other headers it's supposed to.
#include <valarray>
#include "test_macros.h"
#if !defined(_LIBCPP_VALARRAY)
# error "<valarray> was expected to define _LIBCPP_VALARRAY"
#endif
#if TEST_STD_VER > 03 && !defined(_LIBCPP_INITIALIZER_LIST)
# error "<valarray> should include <initializer_list> in C++11 and later"
#endif