You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
509 B

! RUN: %S/test_errors.sh %s %t %f18
!ERROR: String edit descriptor in READ format expression
read(*,'("abc")')
!ERROR: String edit descriptor in READ format expression
!ERROR: Unterminated format expression
read(*,'("abc)')
!ERROR: 'H' edit descriptor in READ format expression
read(*,'(3Habc)')
!ERROR: 'H' edit descriptor in READ format expression
!ERROR: Unterminated format expression
read(*,'(5Habc)')
!ERROR: 'I' edit descriptor 'w' value must be positive
read(*,'(I0)')
end