/test/language/error_warning_msg/bad_integer_constant6.msg

http://github.com/tybor/Liberty · Unknown · 9 lines · 7 code · 2 blank · 0 comment · 0 complexity · f10f2b163ecd9067f937e28ca6b1370e MD5 · raw file

  1. ****** Fatal Error: Bad assignment. Cannot assign `32768' which
  2. is of type INTEGER_32 into `i16' which is of type INTEGER_16.
  3. The source lines relevant to this message are the following:
  4. Line 14 columns 10, 23 in BAD_INTEGER_CONSTANT6 (/home/cadrian/Workspace/Dev/Liberty/test/language/error_warning_msg/bad_integer_constant6.e):
  5. i16 := 32767 + 1
  6. ^ ^
  7. ------