bolt/deps/llvm-18.1.8/flang/test/Semantics/resolve12.f90
2025-02-14 19:21:04 +01:00

13 lines
222 B
Fortran

! RUN: %python %S/test_errors.py %s %flang_fc1
module m1
end
subroutine sub
end
use m1
!ERROR: Cannot read module file for module 'm2': Source file 'm2.mod' was not found
use m2
!ERROR: 'sub' is not a module
use sub
end