summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/thread/test/test_12949.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/thread/test/test_12949.cpp')
-rw-r--r--src/boost/libs/thread/test/test_12949.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/boost/libs/thread/test/test_12949.cpp b/src/boost/libs/thread/test/test_12949.cpp
new file mode 100644
index 000000000..2b6235238
--- /dev/null
+++ b/src/boost/libs/thread/test/test_12949.cpp
@@ -0,0 +1,20 @@
+// Copyright (C) 2017 Vicente Botet
+//
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#define BOOST_THREAD_VERSION 4
+
+//#include <boost/thread/thread.hpp>
+#include <boost/thread/condition_variable.hpp>
+
+void f()
+{
+ boost::this_thread::sleep_for(boost::chrono::milliseconds(10)); // **
+}
+int main()
+{
+
+ return 0;
+}
+