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
[LoopReroll] Add an extra defensive check to avoid SCEV assertion.
[llvm-project.git]
/
flang
/
test
/
Semantics
/
resolve92.f90
blob
4b7e7955471bfc3f41e2f7c6c6d17e2dc3a83bf8
1
! RUN: %S/test_errors.sh %s %t %flang_fc1
2
! REQUIRES: shell
3
4
module
m1
5
implicit none
6
type
t
7
integer
::
n
8
end type
9
type
t2
10
! t and t2 must be resolved to types in m1, not components in t2
11
type
(
t
) ::
t
(
10
) =
t
(
1
)
12
type
(
t
) ::
x
=
t
(
1
)
13
integer
::
t2
14
type
(
t2
),
pointer
::
p
15
end type
16
end
17
18
module
m2
19
type
::
t
(
t
)
20
integer
,
kind
::
t
21
integer
(
t
) ::
n
22
end type
23
type
::
t2
(
t
)
24
integer
,
kind
::
t
25
type
(
t
(
t
)) ::
x
=
t
(
t
)(
t
)
26
end type
27
end