llvm-project/flang/test/Semantics/resolve12.f90

14 lines
194 B
Fortran

! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
module m1
end
subroutine sub
end
use m1
!ERROR: Error reading module file for module 'm2'
use m2
!ERROR: 'sub' is not a module
use sub
end