aboutsummaryrefslogtreecommitdiff
path: root/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:31 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-16 19:47:31 +0000
commit7582e3938bb9fb3e4664efdfb2313df29f27b70b (patch)
tree65bec6df3984fb0b437488fd86eb1359e9c84af4 /test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
parent733153a0fb52facba02c550ec849f0c734dfa412 (diff)
Notes
Diffstat (limited to 'test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp')
-rw-r--r--test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp b/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
new file mode 100644
index 000000000000..3406fff70610
--- /dev/null
+++ b/test/std/thread/thread.threads/thread.thread.this/sleep_for_tested_elsewhere.pass.cpp
@@ -0,0 +1,22 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// 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.
+//
+//===----------------------------------------------------------------------===//
+
+// <thread>
+
+// template <class Rep, class Period>
+// void sleep_for(const chrono::duration<Rep, Period>& rel_time);
+
+// The std::this_thread::sleep_for test requires POSIX specific headers and
+// is therefore non-standard. For this reason the test lives under the 'libcxx'
+// subdirectory.
+
+int main()
+{
+}