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
[flang] Accept polymorphic component element in storage_size
[llvm-project.git]
/
flang
/
test
/
Semantics
/
modfile02.f90
blob
bd1acf6ec300aa16e69ab375fa6ce3b00904080e
1
! RUN: %python %S/test_modfile.py %s %flang_fc1
2
! Check modfile generation for private type in public API.
3
4
module
m
5
type
,
private
::
t1
6
integer
::
i
7
end type
8
type
,
private
::
t2
9
integer
::
i
10
end type
11
type
(
t1
) ::
x1
12
type
(
t2
),
private
::
x2
13
end
14
15
!Expect: m.mod
16
!module m
17
!type,private::t1
18
!integer(4)::i
19
!end type
20
!type,private::t2
21
!integer(4)::i
22
!end type
23
!type(t1)::x1
24
!type(t2),private::x2
25
!end