OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [char_expr_2.f90] - Blame information for rev 858

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { 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 "Non-variable expression" }
15
end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.