forked from OSchip/llvm-project
12 lines
349 B
Fortran
12 lines
349 B
Fortran
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
|
|
implicit none(external)
|
|
external x
|
|
call x
|
|
!ERROR: 'y' is an external procedure without the EXTERNAL attribute in a scope with IMPLICIT NONE(EXTERNAL)
|
|
call y
|
|
block
|
|
!ERROR: 'z' is an external procedure without the EXTERNAL attribute in a scope with IMPLICIT NONE(EXTERNAL)
|
|
call z
|
|
end block
|
|
end
|