1//===----------------------------------------------------------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is dual licensed under the MIT and the University of Illinois Open 6// Source Licenses. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10// <chrono> 11 12// time_point 13 14// explicit time_point(const duration& d); 15 16// test for explicit 17 18#include <chrono> 19 20int main() 21{ 22 typedef std::chrono::system_clock Clock; 23 typedef std::chrono::milliseconds Duration; 24 std::chrono::time_point<Clock, Duration> t = Duration(3); 25} 26