summaryrefslogtreecommitdiffstats
path: root/test/numerics/numarray/template.gslice.array/types.pass.cpp
blob: 1e1e11ba8e3ed093de5682a7b4f65e1305e46590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <valarray>

// template <class T>
// class gslice_array
// {
// public:
//     typedef T value_type;

#include <valarray>
#include <type_traits>

int main()
{
    static_assert((std::is_same<std::gslice_array<int>::value_type, int>::value), "");
}