repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Break circular dependency between FIR dialect and utilities
[llvm-project.git]
/
flang
/
test
/
Semantics
/
resolve26.f90
blob
5e77cc4fbe9a5091990d1a14f79bb8628d5f0b25
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
module
m1
3
interface
4
module subroutine
s
()
5
end subroutine
6
end interface
7
end
8
9
module
m2
10
interface
11
module subroutine
s
()
12
end subroutine
13
end interface
14
end
15
16
submodule
(
m1
)
s1
17
end
18
19
!ERROR: Cannot read module file for submodule 's1' of module 'm2': Source file 'm2-s1.mod' was not found
20
submodule
(
m2
:
s1
)
s2
21
end
22
23
!ERROR: Cannot read module file for module 'm3': Source file 'm3.mod' was not found
24
submodule
(
m3
:
s1
)
s3
25
end