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
/
structconst06.f90
blob
d5a40410ea63a116aa01aee1df85680fc6eb6e4a
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
! Don't expand scalars for allocatable components.
3
module
m
4
type
t
5
real
,
allocatable
::
a
(:)
6
end type
7
!ERROR: Scalar value cannot be expanded to shape of array component 'a'
8
type
(
t
) ::
x
=
t
(
0
.)
9
end module