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
/
resolve92.f90
blob
a149454dd381fcf6c059b9731eb83b2f0affe366
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
3
module
m1
4
implicit none
5
type
t
6
integer
::
n
7
end type
8
type
t2
9
! t and t2 must be resolved to types in m1, not components in t2
10
type
(
t
) ::
t
(
10
) =
t
(
1
)
11
type
(
t
) ::
x
=
t
(
1
)
12
integer
::
t2
13
type
(
t2
),
pointer
::
p
14
end type
15
end
16
17
module
m2
18
type
::
t
(
t
)
19
integer
,
kind
::
t
20
integer
(
t
) ::
n
21
end type
22
type
::
t2
(
t
)
23
integer
,
kind
::
t
24
type
(
t
(
t
)) ::
x
=
t
(
t
)(
t
)
25
end type
26
end