summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/chrono/test/another_obj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/chrono/test/another_obj.cpp')
-rw-r--r--src/boost/libs/chrono/test/another_obj.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boost/libs/chrono/test/another_obj.cpp b/src/boost/libs/chrono/test/another_obj.cpp
new file mode 100644
index 000000000..8ebf67720
--- /dev/null
+++ b/src/boost/libs/chrono/test/another_obj.cpp
@@ -0,0 +1,19 @@
+// boost win32_test.cpp -----------------------------------------------------//
+
+// Copyright 2010 Vicente J. Botet Escriba
+
+// Distributed under the Boost Software License, Version 1.0.
+// See http://www.boost.org/LICENSE_1_0.txt
+
+// See http://www.boost.org/libs/chrono for documentation.
+#include <iostream>
+#include <boost/chrono/chrono.hpp>
+#include <boost/chrono/chrono_io.hpp>
+
+void another() {
+ boost::chrono::steady_clock::time_point t1=boost::chrono::steady_clock::now();
+ boost::chrono::steady_clock::time_point t2=boost::chrono::steady_clock::now();
+ std::cout << t2-t1 << std::endl;
+ return ;
+}
+