I went over the output of the following mess of a command:
`(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)`
and proceeded to spend a few days looking at it to find probable typos
and fixed a few hundred of them in all of the llvm project (note, the
ones I found are not anywhere near all of them, but it seems like a
good start).
Reviewed By: awarzynski, clementval
Differential Revision: https://reviews.llvm.org/D130844
17 lines
484 B
Fortran
17 lines
484 B
Fortran
! RUN: %python %S/test_errors.py %s %flang_fc1
|
|
! Test alternate return argument passing for internal and external subprograms
|
|
! Both of the following are OK
|
|
call extSubprogram (*100)
|
|
call intSubprogram (*100)
|
|
call extSubprogram (*101)
|
|
call intSubprogram (*101)
|
|
100 PRINT *,'First alternate return'
|
|
!ERROR: Label '101' is not a branch target
|
|
!ERROR: Label '101' is not a branch target
|
|
101 FORMAT("abc")
|
|
contains
|
|
subroutine intSubprogram(*)
|
|
return(1)
|
|
end subroutine
|
|
end
|