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 ////////////////////////////////////////////////////////////////////////////// 6 7 8 9 #include <boost/statechart/result.hpp> 10 11 #include <boost/static_assert.hpp> 12 13 14 15 namespace sc = boost::statechart; 16 17 18 main()19int main() 20 { 21 // sc::result has no default ctor 22 sc::result r; 23 24 #ifdef NDEBUG 25 // Test only fails in DEBUG mode. Forcing failure... 26 BOOST_STATIC_ASSERT( false ); 27 #endif 28 29 return 0; 30 } 31