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
9// <valarray>
10
11// template <class T>
12// class slice_array
13// {
14// public:
15// typedef T value_type;
16
17#include <valarray>
18#include <type_traits>
19
20#include "test_macros.h"
21
22int main(int, char**)
23{
24 static_assert((std::is_same<std::slice_array<int>::value_type, int>::value), "");
25
26 return 0;
27}
28

source code of libcxx/test/std/numerics/numarray/template.slice.array/types.pass.cpp