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
2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
char_expr_2.f90
blob
86499eb454c616e5d4920da62999effbc49ce3c7
1
! { dg-do compile }
2
! PR fortran/36803
3
! PR fortran/36795
4
!
5
! "(n)" was simplified to the EXPR_VARIABLE "n"
6
! and thus "(n)" was judged as definable.
7
!
8
interface
9
subroutine
foo
(
x
)
10
character
,
intent
(
out
) ::
x
(:)
! or INTENT(INOUT)
11
end subroutine
foo
12
end interface
13
character
::
n
(
5
)
14
call
foo
( (
n
) )
! { dg-error "must be definable" }
15
end