xref: /llvm-project/flang/test/Semantics/resolve12.f90 (revision 9629f2c4ca6a514abe27f537c1cb4af35ef0aa10)
1! RUN: %python %S/test_errors.py %s %flang_fc1
2module m1
3end
4
5subroutine sub
6end
7
8use m1
9!ERROR: Cannot parse module file for module 'm2': Source file 'm2.mod' was not found
10use m2
11!ERROR: 'sub' is not a module
12use sub
13end
14