test_5542_2.cpp 379 B

123456789101112131415161718
  1. // Copyright (C) 2010 Vicente Botet
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #define BOOST_THREAD_VERSION 2
  6. #include <boost/thread/thread_only.hpp>
  7. void run_thread() {
  8. return;
  9. }
  10. int main() {
  11. boost::thread t(&run_thread);
  12. return 0;
  13. }