URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [char_expr_2.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do compile }
! PR fortran/36803
! PR fortran/36795
!
! "(n)" was simplified to the EXPR_VARIABLE "n"
! and thus "(n)" was judged as definable.
!
interface
subroutine foo(x)
character, intent(out) :: x(:) ! or INTENT(INOUT)
end subroutine foo
end interface
character :: n(5)
call foo( (n) ) ! { dg-error "must be definable" }
end