summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/time/time.clock/time.clock.system/rep_signed.pass.cpp
blob: b6a440e16dd4bd08bf30ddadd4650190b6187150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <chrono>

// system_clock

// rep should be signed

#include <chrono>
#include <cassert>

int main()
{
    assert(std::chrono::system_clock::duration::min() <
           std::chrono::system_clock::duration::zero());
}
OpenPOWER on IntegriCloud