diff options
Diffstat (limited to 'src/boost/libs/thread/test/test_5542_2.cpp')
-rw-r--r-- | src/boost/libs/thread/test/test_5542_2.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/boost/libs/thread/test/test_5542_2.cpp b/src/boost/libs/thread/test/test_5542_2.cpp new file mode 100644 index 000000000..b0c48cf9d --- /dev/null +++ b/src/boost/libs/thread/test/test_5542_2.cpp @@ -0,0 +1,18 @@ +// Copyright (C) 2010 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 2 + +#include <boost/thread/thread_only.hpp> + +void run_thread() { + return; +} + +int main() { + boost::thread t(&run_thread); + return 0; +} + |