fail_onentry.xml 365 B

12345678910111213141516171819
  1. <test>
  2. <statechart>
  3. <root initial="a">
  4. <state id="a">
  5. <onentry>
  6. <code>
  7. func {
  8. # Illegal: macro @in only available in guards and actions
  9. return @in("/b");
  10. }();
  11. </code>
  12. </onentry>
  13. </state>
  14. <state id="b">
  15. </state>
  16. </root>
  17. </statechart>
  18. </test>