]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/statechart/test/InvalidChartTest2.cpp
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/state_machine.hpp>
10 #include <boost/statechart/simple_state.hpp>
14 namespace sc
= boost::statechart
;
19 struct InvalidChartTest
: sc::state_machine
< InvalidChartTest
, A
> {};
22 struct A
: sc::simple_state
< A
, InvalidChartTest
, B
> {};
24 struct B
: sc::simple_state
< B
, A
> {};
26 // A does not have an orthogonal region with the number 1
27 struct C
: sc::simple_state
< C
, A::orthogonal
< 1 > > {};
32 InvalidChartTest machine
;