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
/
resolve51.f90
blob
232d8bc5763864ed3a5d45a2b3cb372e2315fbcb
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
! Test SELECT TYPE errors: C1157
3
4
subroutine
s1
()
5
type
::
t
6
end type
7
procedure
(
f
) ::
ff
8
!ERROR: Selector is not a named variable: 'associate-name =>' is required
9
select
type
(
ff
())
10
class
is
(
t
)
11
class default
12
end
select
13
contains
14
function
f
()
15
class
(
t
),
pointer
::
f
16
f
=>
null
()
17
end function
18
end subroutine