Last change
on this file since 29 was
29,
checked in by landauf, 16 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
672 bytes
|
Line | |
---|
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 | |
---|
19 | int 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 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.