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
/
modfile53.f90
blob
6dda0f79b88f0c03b7565a7f9d3d4ce5c5147868
1
! RUN: %python %S/test_modfile.py %s %flang_fc1
2
! Ensure that a module can be forward-referenced within a compilation unit.
3
module
m1
4
use
m2
5
end
6
7
module
m2
8
use
m3
9
end
10
11
module
m3
12
integer
n
13
end
14
15
!Expect: m1.mod
16
!module m1
17
!use m2,only:n
18
!end
19
20
!Expect: m2.mod
21
!module m2
22
!use m3,only:n
23
!end
24
25
!Expect: m3.mod
26
!module m3
27
!integer(4)::n
28
!end