repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
bound_resolve_after_error_1.f90
blob
35cc2405a8d9138240740407aed9a6e4b9b01e6a
1
! Testcase for bound check after issued error
2
! See PR 94192
3
! { dg-do compile }
4
program
bound_for_illegal
5
6
contains
7
8
subroutine
bnds
(
a
)
! { dg-error "must have a deferred shape or assumed rank" }
9
integer
,
pointer
,
intent
(
in
) ::
a
(
1
:
2
)
10
print
*,
lbound
(
a
)
11
end subroutine
bnds
12
13
end program
bound_for_illegal