Added tests for new requires_threads.hpp header

[SVN r21350]
This commit is contained in:
John Maddock
2003-12-20 11:55:42 +00:00
parent 94a7800ff4
commit c42978702d
4 changed files with 29 additions and 0 deletions

View 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...