/test/language/unclassified/wmh/test_wmh05.e

http://github.com/tybor/Liberty · Specman e · 22 lines · 16 code · 5 blank · 1 comment · 0 complexity · 9c32f104d020c85569ba7311d6fa1474 MD5 · raw file

  1. class TEST_WMH05
  2. -- From a bug report of "Wai Ming, HO" <waimingh@irisa.fr>
  3. create {}
  4. make
  5. feature {}
  6. make
  7. do
  8. call_once_only
  9. end
  10. count: INTEGER
  11. call_once_only
  12. require
  13. count = 0
  14. do
  15. count := count + 1
  16. end
  17. end -- class TEST_WMH05