[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / flang / test / Semantics / resolve12.f90
blobaa9dbd7f00603d909454aa7f20cc46c7a17bd439
1 ! RUN: %python %S/test_errors.py %s %flang_fc1
2 module m1
3 end
5 subroutine sub
6 end
8 use m1
9 !ERROR: Cannot read module file for module 'm2': Source file 'm2.mod' was not found
10 use m2
11 !ERROR: 'sub' is not a module
12 use sub
13 end