summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/time/time.clock/time.clock.system/now.pass.cpp
blob: 60530fdf3a9130c3978fc4eafb90258b866ae8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===----------------------------------------------------------------------===//
//
//                     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

// static time_point now();

#include <chrono>

int main()
{
    typedef std::chrono::system_clock C;
    C::time_point t1 = C::now();
}
OpenPOWER on IntegriCloud