summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-15 23:23:23 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-15 23:23:23 +0000
commit4971b9a8ba2016e1a41927b250e8802eb0787769 (patch)
treeeafc38353a48e1cd63e574edc380874a144179ef /libstdc++-v3/testsuite/17_intro
parent94b087ba5bc98e2c9ff01f73018281c3c47e45f3 (diff)
downloadgcc-4971b9a8ba2016e1a41927b250e8802eb0787769.tar.gz
2008-07-15 Chris Fairles <chris.fairles@gmail.com>
* include/std/chrono: New, as per N2661. * src/chrono.cc: New. * include/Makefile.am: Update. * src/Makefile.am: Likewise. * include/Makefile.in: Regenerate. * src/Makefile.in: Likewise. * acinclude.m4: Add tests for clock_gettime and gettimeofday that define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY. * configure.ac: Use them. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and system_clock::is_monotonic. * testsuite/20_util/duration/cons/1.cc: New. * testsuite/20_util/duration/cons/2.cc: Likewise. * testsuite/20_util/duration/cons/1_neg.cc: Likewise. * testsuite/20_util/duration/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/20_util/duration/arithmetic/1.cc: Likewise. * testsuite/20_util/duration/arithmetic/2.cc: Likewise. * testsuite/20_util/duration/comparisons/1.cc: Likewise. * testsuite/20_util/time_point/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/20_util/time_point/1.cc: Likewise. * testsuite/20_util/time_point/2.cc: Likewise. * testsuite/20_util/time_point/3.cc: Likewise. * testsuite/20_util/clocks/1.cc: Likewise. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add missing headers. * testsuite/17_intro/headers/c++200x/all.cc: Likewise. * include/precompiled/stdc++.h: Likewise and remove <date_time>. * doc/doxygen/user.cfg.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137858 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc2
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc5
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
index 7988666739a..4c2e31be081 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all.cc
@@ -95,6 +95,7 @@
#include <algorithm>
#include <array>
#include <bitset>
+#include <chrono>
#include <condition_variable>
#include <complex>
#include <deque>
@@ -118,6 +119,7 @@
#include <ostream>
#include <queue>
#include <random>
+#include <ratio>
#include <regex>
#include <set>
#include <sstream>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
index 814fbc3a144..f88edc8268a 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc
@@ -93,6 +93,7 @@
#include <algorithm>
#include <array>
#include <bitset>
+#include <chrono>
#include <complex>
#include <deque>
#include <exception>
@@ -114,6 +115,7 @@
#include <ostream>
#include <queue>
#include <random>
+#include <ratio>
#include <regex>
#include <set>
#include <sstream>
@@ -203,6 +205,7 @@
#include <algorithm>
#include <array>
#include <bitset>
+#include <chrono>
#include <complex>
#include <deque>
#include <exception>
@@ -219,11 +222,13 @@
#include <locale>
#include <map>
#include <memory>
+#include <mutex>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <random>
+#include <ratio>
#include <regex>
#include <set>
#include <sstream>