mirror of
https://github.com/boostorg/config.git
synced 2026-02-03 22:05:04 +01:00
Added tests for new requires_threads.hpp header
[SVN r21350]
This commit is contained in:
10
test/threads/test_thread_fail1.cpp
Normal file
10
test/threads/test_thread_fail1.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
// (C) Copyright John Maddock 2003.
|
||||
// Use, modification and distribution are subject to 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)
|
||||
|
||||
// disable thread support:
|
||||
#define BOOST_DISABLE_THREADS
|
||||
// this should now be a compiler error:
|
||||
#include <boost/config/requires_threads.hpp>
|
||||
// we should never get here...
|
||||
Reference in New Issue
Block a user