1! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
2implicit none(external)
3external x
4call x
5!ERROR: 'y' is an external procedure without the EXTERNAL attribute in a scope with IMPLICIT NONE(EXTERNAL)
6call y
7block
8  !ERROR: 'z' is an external procedure without the EXTERNAL attribute in a scope with IMPLICIT NONE(EXTERNAL)
9  call z
10end block
11end
12