/test/language/error_warning_msg/bad_address_of4.e

http://github.com/tybor/Liberty · Specman e · 16 lines · 12 code · 4 blank · 0 comment · 0 complexity · 719161ff74011531a754b57273c7cc6f MD5 · raw file

  1. class BAD_ADDRESS_OF4
  2. create {}
  3. main
  4. feature {}
  5. main
  6. local
  7. pointer: POINTER
  8. do
  9. pointer := $constant_attribute
  10. end
  11. constant_attribute: INTEGER 4
  12. end