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
/
structconst05.f90
blob
236a890660d93671b8bc686889f5386c5ff4cb02
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
! Ensure that PDT instance structure constructors can be folded to constants
3
module
m1
4
type
::
pdt
(
k
)
5
integer
,
len
::
k
6
character
(
len
=
k
) ::
x
,
y
=
"def"
7
end type
8
type
(
pdt
(
4
)) ::
v
=
pdt
(
4
)(
"abc"
)
9
end module