summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/numarray/class.slice/cons.slice/default.pass.cpp
blob: 6cd1fc6b8c34ec830019aa156403a6159bc87b8f (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 slice;

// slice();

#include <valarray>
#include <cassert>

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