diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-02-02 21:05:47 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-02-02 21:05:47 +0000 |
commit | 2f746d4c943a59626925ac625583ddc081b34388 (patch) | |
tree | 6f15a8ff880b9beb22cf9bf86142f68f531a681e /libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp | |
parent | 7597b353b3cdf56af79b8abb86b5a5d1330af4e2 (diff) | |
download | bcm5719-llvm-2f746d4c943a59626925ac625583ddc081b34388.tar.gz bcm5719-llvm-2f746d4c943a59626925ac625583ddc081b34388.zip |
[libcxx] Add <experimental/chrono>
Summary:
This patch adds <experimental/chrono> which only contains a single variable template.
See: https://rawgit.com/cplusplus/fundamentals-ts/v1/fundamentals-ts.html#time
Reviewers: jroelofs, danalbert, K-ballo, mclow.lists
Reviewed By: mclow.lists
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7352
llvm-svn: 227860
Diffstat (limited to 'libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp')
-rw-r--r-- | libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp b/libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp new file mode 100644 index 00000000000..f6ad37f9ee3 --- /dev/null +++ b/libcxx/test/std/experimental/utilities/time/header.chrono.synop/includes.pass.cpp @@ -0,0 +1,19 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// <experimental/chrono> + +#include <experimental/chrono> + +int main() +{ + // Check that <chrono> has been included. + std::chrono::seconds s; + ((void)s); +} |