2 ! test levenshtein based spelling suggestions
7 function something_good (iarg1
)
8 integer :: something_good
9 integer, intent(in
) :: iarg1
10 something_good
= iarg1
+ 42
11 end function something_good
18 interface operator (.mywrong
.)
19 module procedure something_wring
! { dg-error "Procedure .something_wring. in operator interface .mywrong. at .1. is neither function nor subroutine; did you mean .something_good.\\?|User operator procedure .something_wring. at .1. must be a FUNCTION" }
22 interface operator (.mygood
.)
23 module procedure something_good
26 integer :: i
, j
, added
29 added
= .mygoof
. j
! { dg-error "Unknown operator .mygoof. at .1.; did you mean .mygood.\\?" }
30 end program spellchekc