Improve vacpp support.
[boost.git] / boost / libs / statechart / test / InvalidResultDefCtorTest.cpp
blob2708423256b8788df2a40fd55eb874704b945aba
1 //////////////////////////////////////////////////////////////////////////////
2 // Copyright 2005-2006 Andreas Huber Doenni
3 // Distributed under the Boost Software License, Version 1.0. (See accompany-
4 // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 //////////////////////////////////////////////////////////////////////////////
9 #include <boost/statechart/result.hpp>
11 #include <boost/static_assert.hpp>
15 namespace sc = boost::statechart;
19 int main()
21 // sc::result has no default ctor
22 sc::result r;
24 #ifdef NDEBUG
25 // Test only fails in DEBUG mode. Forcing failure...
26 BOOST_STATIC_ASSERT( false );
27 #endif
29 return 0;