summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/numarray/class.gslice/gslice.cons/default.pass.cpp
blob: 9be9f66f5efbd0985c9c544fb5c3a8b4a3d26c0b (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
25
//===----------------------------------------------------------------------===//
//
// ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <valarray>

// class glice;

// gslice();

#include <valarray>
#include <cassert>

int main()
{
    std::gslice gs;
    assert(gs.start() == 0);
    assert(gs.size().size() == 0);
    assert(gs.stride().size() == 0);
}
OpenPOWER on IntegriCloud