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
/
modfile47.f90
blob
030258098ff190a37e5bb6ffa815aade70cd6a42
1
! RUN: %python %S/test_errors.py %s %flang_fc1
2
subroutine
foo
3
end
4
subroutine
iso_fortran_env
5
end
6
subroutine
bad1
7
!ERROR: 'foo' is not a module
8
use
foo
9
end
10
subroutine
ok1
11
use
,
intrinsic
::
iso_fortran_env
12
end
13
subroutine
ok2
14
use
iso_fortran_env
15
end
16
subroutine
bad2
17
!ERROR: 'iso_fortran_env' is not a module
18
use
,
non_intrinsic
::
iso_fortran_env
19
end