summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2018-09-11 18:18:58 +0000
committerrobert <robert@openbsd.org>2018-09-11 18:18:58 +0000
commit820e1f31efc1d6ed04795ba2e79f3044e1907492 (patch)
tree815cebb3734784074b661935c33f00bd5eb4d862 /lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp
parentNuke unused LIST() ieee80211com_head. (diff)
downloadwireguard-openbsd-820e1f31efc1d6ed04795ba2e79f3044e1907492.tar.xz
wireguard-openbsd-820e1f31efc1d6ed04795ba2e79f3044e1907492.zip
import of libc++ 6.0.0
Diffstat (limited to 'lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp')
-rw-r--r--lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp b/lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp
new file mode 100644
index 00000000000..66d50d17e9e
--- /dev/null
+++ b/lib/libcxx/utils/google-benchmark/cmake/steady_clock.cpp
@@ -0,0 +1,7 @@
+#include <chrono>
+
+int main() {
+ typedef std::chrono::steady_clock Clock;
+ Clock::time_point tp = Clock::now();
+ ((void)tp);
+}